This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Extra Tokens
- To: "James Otto" <jsotto at valeria dot mp dot sandia dot gov>
- Subject: Re: Extra Tokens
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Aug 2001 04:38:06 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0108211746370.11633-100000@lynx2.mp.sandia.gov>
On Aug 21, 2001, "James Otto" <jsotto@valeria.mp.sandia.gov> wrote:
> i'm using gcc w/ -Wall and it's whining about
> "extra tokens at end of #endif directive"
Yep, this is actually an error on a number of C compilers out there.
That's why GCC warns about it.
> is there an option to control (eliminate) this
> warning?
I don't think so. -Wall is the option that controls this warning
(along with many others).
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me