Mail Archives: djgpp/1998/06/18/09:34:08
On 17 Jun 1998, Chris Lumens wrote:
> Hey everybody. I am porting a program of mine from Borland C++ to DJGPP
> and have run into a problem with the header files. When I try to compile
> one of my files that includes iostream.h, it stops with the error messages:
>
> (91) Parse error before '__extension__'
> (208) Parse error before '__extension__'
Add -v to the gcc compilation command line, and post here everything that
gets printed. (I think you have some installation snafu; the info
printed by gcc -v should give a clue to what's wrong.)
> #if defined(__GNUC__)
> __extension__ ostream& operator<<(long long n)
>
> Line 208 is just about the same. Is this a problem with the preprocessor
> commands?
AFAIK, __extension__ is a keyword, so it is processed by the parser
(cc1plus.exe), not the preprocessor.
- Raw text -