From: Philippe Gerum <rpm@xenomai.org>
To: Michael Smith <2michael.smith@gmail.com>, xenomai@xenomai.org
Subject: Re: [Xenomai] Compiling issue Xenomai 3.0 rc3
Date: Thu, 19 Feb 2015 15:16:16 +0100 [thread overview]
Message-ID: <54E5F030.6060403@xenomai.org> (raw)
In-Reply-To: <CANWkrRN54ohRTAuyfySuc_hqZWB=cA277imt8uAQhfR5bVr5ig@mail.gmail.com>
On 02/19/2015 02:40 PM, Michael Smith wrote:
> Hi. I'm having trouble compiling the newest release (Xenomai 3.0-rc3).
> With the error
>
> autotune.c: In function ‘main’:
> autotune.c:298:16: error: ignoring return value of ‘daemon’, declared with
> attribute warn_unused_result [-Werror=unused-result]
> daemon(0, 0);
>
> Is there an way to override the -Werror flags so it doesn't break on
> warnings without editing the make files?
> Or is the policy on Xenomai to always compile cleanly without warnings.
There is a strong policy to always compile without any warning. It
turned out that none of the libc headers I'm building against over 7 CPU
architectures sets the warn_unused_result attribute on the daemon()
routine yet.
--
Philippe.
next prev parent reply other threads:[~2015-02-19 14:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 13:40 [Xenomai] Compiling issue Xenomai 3.0 rc3 Michael Smith
2015-02-19 13:45 ` Gilles Chanteperdrix
2015-02-19 13:46 ` Huy Cong Vu
2015-02-19 14:16 ` Philippe Gerum [this message]
2015-02-19 14:21 ` Philippe Gerum
2015-02-19 14:23 ` Gilles Chanteperdrix
2015-02-20 13:16 ` Michael Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54E5F030.6060403@xenomai.org \
--to=rpm@xenomai.org \
--cc=2michael.smith@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.