From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/janus-gateway: fix compilation with older gcc versions
Date: Sun, 4 Jan 2015 18:18:06 +0100 [thread overview]
Message-ID: <20150104171806.GA31970@free.fr> (raw)
In-Reply-To: <20150104180723.1b37f2e5@free-electrons.com>
Thomas, All,
On 2015-01-04 18:07 +0100, Thomas Petazzoni spake thusly:
> Dear Yann E. MORIN,
>
> On Sun, 4 Jan 2015 10:59:35 +0100, Yann E. MORIN wrote:
> > janus-gateway forcibly uses -Wunused-but-set-variable, which is not
> > available for all gcc versions. For example, gcc-4.5, as used in
> > Sourcery CodeBench PowerPC 2011.03, does not have it.
> >
> > Fixes:
> > http://autobuild.buildroot.org/results/6d8/6d8e15ac5d592a51b6a8d2ceb9fc1ca954428ed7/
> > http://autobuild.buildroot.org/results/abe/abe25b588bf6de0d76cce0135841d65dc66d5cca/
> > [...]
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Gregory Dymarek <gregd72002@gmail.com>
>
> I have an alternate version of this patch that does detect if
> -Wunused-but-set-variable is supported by gcc or not, and uses it only
> when available. I believe such a patch has a higher chance of being
> accepted upstream, no?
Yes, obviously. I'll mark my patch rejected in Patchwork, then.
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2015-01-04 17:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-04 9:59 [Buildroot] [PATCH] package/janus-gateway: fix compilation with older gcc versions Yann E. MORIN
2015-01-04 17:07 ` Thomas Petazzoni
2015-01-04 17:18 ` Yann E. MORIN [this message]
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=20150104171806.GA31970@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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.