-----BEGIN PGP SIGNED MESSAGE----- On Mittwoch, 12. Februar 2003 14:18, Jean-Marc Lasgouttes wrote: > >>>>> "Kornel" == Kornel Benko <[EMAIL PROTECTED]> writes: > > Kornel> defined as a type. In file included from > Kornel> /usr/local/include/c++/3.2.1/backward/streambuf.h:31, from > Kornel> ../../src/support/sstream.h:40, from ../../src/Lsstream.h:22, > Kornel> from texparser.C:3: ... > > It seems that this is my fault. I can reverse the change > <sstream>=>"Lsstrream.h", but since it works in LyX itself, I wonder > why it does not work for others. > > Ideas?
Reversing the the includes in "texparser.C" to #include "Lsstream.h" #include "texparser.h" removes the reported error. But there are new errors then. /usr/local/include/c++/3.2.1/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:2: ../../src/support/sstream.h:44: conflicting types for `struct std::stringbuf' /usr/local/include/c++/3.2.1/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 ... Kornel > JMarc - -- Kornel Benko [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPkpMKbewfbDGmeqhAQHGgQQAr8+hz1n0iyK205iZ46Ou8B47n9NMqkLa kBLLHACpivcRFYEdepct3Y0JwzPebhOO9ojey+MD8iPW2Uf1myEC27pLgk1Aj5QS JV9spX4db8DWdiR4YQRYE+mkPuD5ZTjjjX/e6o3fhAHGmgUzbWsJ0LyhIsf39KgM pqK+QC1nGBo= =W9Kx -----END PGP SIGNATURE-----