On Wed, Feb 12, 2003 at 07:17:53PM +0100, Andre Poenitz wrote:
> On Wed, Feb 12, 2003 at 07:48:27PM +0200, Dekel Tsur wrote:
> > 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
> 
> Fixed.

Still doesn't work:

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: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'
../../src/support/sstream.h:45: `virtual std::basic_ios<char, 
   std::char_traits<char> >::~basic_ios()' and `void std::basic_ios<_CharT, 
   _Traits>::basic_ios() [with _CharT = char, _Traits = std::char_traits<char>]
   ' cannot be overloaded
../../src/support/sstream.h:45: `virtual std::basic_ios<char, 
   std::char_traits<char> >::~basic_ios()' and `void std::basic_ios<_CharT, 
   _Traits>::basic_ios() [with _CharT = char, _Traits = std::char_traits<char>]
   ' cannot be overloaded
../../src/support/sstream.h:45: `std::basic_ios<char, std::char_traits<char> 
   >::~basic_ios()' and `void std::basic_ios<_CharT, _Traits>::basic_ios() 
   [with _CharT = char, _Traits = std::char_traits<char>]' cannot be overloaded
../../src/support/sstream.h: In constructor `std::stringbuf::stringbuf(int)':
../../src/support/sstream.h:53: parse error before `;' token
../../src/support/sstream.h:54: class `std::stringbuf' does not have any field 
   named `rpos'
../../src/support/sstream.h:54: class `std::stringbuf' does not have any field 
   named `bufsize'
../../src/support/sstream.h:55: no matching function for call to `
   std::basic_streambuf<char, std::char_traits<char> >::basic_streambuf(int&)'
/usr/include/c++/3.2/streambuf:479: candidates are: 
   std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const 
   std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = 
   std::char_traits<char>]

Reply via email to