This is the mail archive of the gcc@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: Re[2]: g++'s non-conformance


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).


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