syntax errors in new SPARC files

David S. Miller davem@dm.cobaltmicro.com
Wed Aug 12 01:16:00 GMT 1998


   Date: Wed, 12 Aug 1998 01:00:04 -0700
   From: Richard Henderson <rth@dot.cygnus.com>

   On Tue, Aug 11, 1998 at 08:50:16PM -0700, David S. Miller wrote:
   > Says who?  ANSI C?

   Says ISO.  You should have, in fact, gotten a warning from GCC about
   them.  Why they were not declared an error I do not know.

Only when -ansi is specified right?  We've been using these constructs
in the Linux kernel for years and GCC still isn't complaining so I'm
guessing this is the case (that -ansi causes the warning).  Actually I
don't remember any warnings for this when bootstrapping the new sparc
rewrite code which has all warnings enabled...

Later,
David S. Miller
davem@dm.cobaltmicro.com



More information about the Gcc-patches mailing list