This is the mail archive of the gcc-help@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]
Other format: [Raw text]

streambuf.h undefined type..?


I'm getting the following. 

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -Wall -O2 -I/usr/pkg/in
clude -c -fPIC -DPIC gsm_phonebook.cc -o gsm_phonebook.lo
In file included from /usr/include/g++/iostream.h:31,
                 from /usr/include/g++/strstream.h:32,
                 from /usr/include/g++/strstream:6,
                 from gsm_phonebook.cc:21:
/usr/include/g++/streambuf.h:87: error: syntax error before `*' token

A look at line 87 shows it's actually whining about 'streambuf'.  Now inside
streambuf.h there is a forward declaration class streambuf;

err, what should I be looking for to resolve this?


Thanks

-- 


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