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: Compiler parsing error



> There was a problem with a missing <algorithm> include, but the parser
> blowup still remains. The problem was in the use of "dos" or "unix" as an
> identifier; once I changed them to _dos and _unix it compiled. But it should
> not have generated a parser error. This was with the egcs snapshot from two
> weeks ago under RedHat Linux 5.2.

The -ansi flag will turn off preprocessor identifiers that are in the
reserved namespace.  Unfortunately if they are turned off by default,
important packages like the X Window system fails to build.


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