I get the following error messages (with gcc 3.2.2):

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem 
/usr/X11R6/include -O -fno-exceptions -W -Wall -Winline -c texparser.C -MT 
texparser.lo -MD -MP -MF .deps/texparser.TPlo
In file included from texparser.C:2:
texparser.h:87: syntax error before `&' token
texparser.h:98: parse error before `&' token
texparser.h:114: `istream' was not declared in this scope
texparser.h:114: `is' was not declared in this scope
texparser.h:114: invalid data member initialization
texparser.h:114: (use `=' to initialize static data members)
texparser.h:114: variable or field `tokenize' declared void
texparser.h:140: 'vector' is used as a type, but is not defined as a type.
In file included from /usr/include/c++/3.2/backward/streambuf.h:31,
                 from ../../src/support/sstream.h:40,
                 from ../../src/Lsstream.h:22,
                 from texparser.C:3:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file 
includes at least one deprecated or antiquated header. Please consider using one of 
the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include 
substituting the <X> header for the <X.h> header for C++ includes, or <sstream> 
instead of the deprecated header <strstream.h>. To disable this warning use 
-Wno-deprecated.
In file included from ../../src/Lsstream.h:22,
                 from texparser.C:3:
../../src/support/sstream.h:44: conflicting types for `struct std::stringbuf'
/usr/include/c++/3.2/iosfwd:110: previous declaration as `typedef struct 
   std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> > 
   std::stringbuf'
../../src/support/sstream.h:98: syntax error before `;' token
../../src/support/sstream.h:45: destructor `stringbuf' must match class name `
   basic_ios'


Reply via email to