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.
=============================
Bruce Eckel    http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java" & "Thinking in C++ 2e"

-----Original Message-----
From: Chris Butler <chrisb@sandy.force9.co.uk>
To: Bruce Eckel <Bruce@EckelObjects.com>; egcs@cygnus.com <egcs@cygnus.com>
Date: Sunday, December 27, 1998 1:27 AM
Subject: Re: Compiler parsing error


>Hi,
>
>> The accompanying file seems to blow up the parser. I successfully compile
>> and run it with the Borland C++ beta.
>
>Once I added #include <algo.h> (for replace), it compiled fine on an
>i586-pc-cygwin target.
>
>By the way - you should read http://egcs.cygnus.com/faq.html#bugreport for
>information on what details you should provide in a bug report.
>
>--
>Chris Butler
><chrisb@sandy.force9.co.uk>
>
>
>


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