streambuf.h undefined type..?
Tyler Retzlaff
rtr@netbsd.org
Fri Oct 10 11:42:00 GMT 2003
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
--
More information about the Gcc-help
mailing list