delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/21/07:04:29

Date: Sun, 21 Jun 1998 14:00:26 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Lumens <web455 AT charweb DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: parse error in iostream.h
In-Reply-To: <898255365.893383@news.charweb.org>
Message-ID: <Pine.SUN.3.91.980621135735.5335D-100000@is>
MIME-Version: 1.0

On 19 Jun 1998, Chris Lumens wrote:

> Reading specs from d:/djgpp/lib\specs
> gcc version 2.7.2
>  d:/djgpp/bin\cpp.exe -lang-c++ -v -Id:/djgpp/include -Id:/djgpp/lang/cxx
>  -Id:/djgpp/src/spasma -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
>  -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=0
>  -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 
>  -D__DJGPP_MINOR__=0 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 
>  -D__DJGPP_MINOR=0 -g buffer.cpp d:/djgpp/tmp\ccbaaaaa
> GNU CPP version 2.7.2 (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  d:/djgpp/include
>  d:/djgpp/lang/cxx
>  d:/djgpp/src/spasma
>  d:/djgpp/include
>  d:/djgpp/contrib/grx20/include
>  /usr/local/lib/g++-include
>  /usr/local/include
>  /usr/local/go32/include
>  /usr/local/lib/gcc-lib/go32/2.7.2/include
>  /usr/include
> End of search list.
>  d:/djgpp/bin\cc1plus.exe d:/djgpp/tmp\ccbaaaaa -fno-strength-reduce
>  -fno-strength-reduce -quiet -dumpbase buffer.cc -g -version -o 
>  d:/djgpp/tmp\cccaaaaa
> GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2.
> In file included from buffer.cpp:14:
> d:/djgpp/lang/cxx/iostream.h:91: parse error before '__extension__'
> d:/djgpp/lang/cxx/iostream.h:208: parse error before '__extension__'

Your compiler and preprocessor are from an old GCC version 2.7.2, and
they were compiled with DJGPP v2.0.  I'd guess that the headers which
give you trouble come from a newer version of the compiler.  You need to 
re-sync your tools by upgrading to a coherent set of them.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019