This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: syntax errors in new SPARC files


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]