Thread (6 messages) flat view 6 messages, 5 authors, 2007-08-16

Re: [PATCH] [POWERPC] Invalid semicolon after if statement

From: Michael Ellerman <hidden>
Date: 2007-08-16 23:08:25

On Thu, 2007-08-16 at 18:40 +0200, Andreas Schwab wrote:
Segher Boessenkool [off-list ref] writes:
quoted
quoted
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help