This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
streambuf.h undefined type..?
- From: Tyler Retzlaff <rtr at netbsd dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 10 Oct 2003 21:42:30 +1000
- Subject: 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
--