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: error in include file (streambuf.h)


On Jan 20, 2000, "Hung Vu" <hungvu2000@hotmail.com> wrote:

> /usr/local/include/g++-3/streambuf.h:35: parse error before string constant

This line contains just:

extern "C" {


Could it be that `extern' is #defined away or something like that?
Compile with `-save-temps -dD' and look for `extern' in the .ii file
to tell where.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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