All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Michael Smith <2michael.smith@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Compiling issue Xenomai 3.0 rc3
Date: Thu, 19 Feb 2015 14:45:44 +0100	[thread overview]
Message-ID: <20150219134544.GT30317@hermes.click-hack.org> (raw)
In-Reply-To: <CANWkrRN54ohRTAuyfySuc_hqZWB=cA277imt8uAQhfR5bVr5ig@mail.gmail.com>

On Thu, Feb 19, 2015 at 03:40:35PM +0200, 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.
> Is this maybe my compilation method, but then again I did compile Xenomai
> 3.0-rc2 without an issue.
> But I assume when a release is done it does compile cleanly.

It compiles cleanly with the maintainer's compiler, which is not
necessarily the same as the one you are using.

Anyway, this is all my fault, this bug has already been signaled. I
said I would fix it, which obviously I did not.

-- 
					    Gilles.


  reply	other threads:[~2015-02-19 13:45 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 [this message]
2015-02-19 13:46 ` Huy Cong Vu
2015-02-19 14:16 ` Philippe Gerum
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=20150219134544.GT30317@hermes.click-hack.org \
    --to=gilles.chanteperdrix@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.