linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Andreas Schwab <schwab@suse.de>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>,
	linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] [POWERPC] Invalid semicolon after if statement
Date: Fri, 17 Aug 2007 09:08:25 +1000	[thread overview]
Message-ID: <1187305705.29237.3.camel@concordia.ozlabs.ibm.com> (raw)
In-Reply-To: <je7inva0w4.fsf@sykes.suse.de>

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

On Thu, 2007-08-16 at 18:40 +0200, Andreas Schwab wrote:
> 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).

Oh good, so in 2011 we'll start getting a warning, sweet.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2007-08-16 23:08 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
2007-08-16 23:08       ` Michael Ellerman [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=1187305705.29237.3.camel@concordia.ozlabs.ibm.com \
    --to=michael@ellerman.id.au \
    --cc=ilpo.jarvinen@helsinki.fi \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=schwab@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).