From: Andreas Schwab <schwab@suse.de>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>,
paulus@samba.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] [POWERPC] Invalid semicolon after if statement
Date: Thu, 16 Aug 2007 18:40:27 +0200 [thread overview]
Message-ID: <je7inva0w4.fsf@sykes.suse.de> (raw)
In-Reply-To: <fa88c3e5b4b0f896a16688a525bcd744@kernel.crashing.org> (Segher Boessenkool's message of "Thu\, 16 Aug 2007 16\:03\:29 +0200")
Segher Boessenkool <segher@kernel.crashing.org> writes:
>> Thanks to the frickin compiler for warning us, not.
>
> 4.3: "warning: suggest braces around empty body in an 'if' statement"
>
> 4.1: "warning: empty body in an if-statement"
>
> Your GCC is too old :-)
This warning is only enabled by -Wextra. Only 4.3 has a separate option
for it (-Wempty-body).
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2007-08-16 16:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 22:03 [PATCH] [POWERPC] Invalid semicolon after if statement Ilpo Järvinen
2007-08-16 7:22 ` Geert Uytterhoeven
2007-08-16 8:08 ` Michael Ellerman
2007-08-16 14:03 ` Segher Boessenkool
2007-08-16 16:40 ` Andreas Schwab [this message]
2007-08-16 23:08 ` Michael Ellerman
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=je7inva0w4.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=ilpo.jarvinen@helsinki.fi \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=segher@kernel.crashing.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.