This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re[2]: g++'s non-conformance
- To: roman at nstl dot nnov dot ru
- Subject: Re: Re[2]: g++'s non-conformance
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Fri, 10 Dec 99 9:32:43 PST
- Cc: dstarner98 at aasaa dot ofe dot org, gcc at gcc dot gnu dot org
roman@nstl.nnov.ru writes:
> Maybe it [-foperator_names] should be on by default ?
The reason it is not on by default is that there are still large numbers
of header files out there that use these words [and,or,etc] as keywords.
We could make fixincludes more aggressive, to fix system headers, but
then there's user code as well.
It will be turned on if you add the -ansi flag as well. If you want
the compiler to be as close as possible to the standard, use -ansi
(there will still be some deviations because of bugs and unimplemented
features).