streambuf.h undefined type..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux