On 27 Oct 1999 [EMAIL PROTECTED] wrote:

> I don't think it's libg++ you want - at least not for STL or
> <iostream>.  You need libstdc++ for that.
> 

I have both of the above installed and still get exactly the very same
compile errors mentioned at the top of this thread.

PS: lyx-1.0.4 compiled cleanly.

PPS: If I change the 'src/support/L{I,O}stream.h' from:

#ifdef HAVE_OSTREAM
#include <ostream>
#else
#include <iostream>

to:

#endif#ifdef HAVE_OSTREAM
#include <ostream.h>
#else
#include <iostream.h>
#endif

The errors mentioned in the original posting go away, however, make then
dies with:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../  
-I/usr/X11R6/include  -O2 -c formula.C
In file included from ../../src/support/lyxstring.h:32,
                 from ../../src/LString.h:20,
                 from ../../src/lyxfont.h:19,
                 from ../../src/insets/lyxinset.h:19,
                 from formula.h:25,
                 from formula.C:25:
../../src/support/LOstream.h:26: parse error before `::'
../../src/insets/lyxinset.h: In method `const char *
Inset::EditMessage()':
In file included from formula.h:25,
                 from formula.C:25:
../../src/insets/lyxinset.h:94: warning: passing `char *' to argument 1
of `__builtin_constant_p(int)' lacks a cast
formula.h: In method `const char * InsetFormula::EditMessage()':
In file included from formula.C:25:
formula.h:74: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
../../src/minibuffer.h: In method `MiniBuffer::MiniBuffer(LyXView *,
int, int, int, int)':
In file included from formula.C:32:
../../src/minibuffer.h:22: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C: In method `bool InsetFormula::LocalDispatch(int, const char
*)':
formula.C:852: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:863: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:865: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:880: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:895: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:898: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:1028: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:1057: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:1066: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
formula.C:1168: warning: passing `char *' to argument 1 of
`__builtin_constant_p(int)' lacks a cast
make[3]: *** [formula.o] Error 1
make[3]: Leaving directory `/usr/src/lyx-1.1.1/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lyx-1.1.1/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/lyx-1.1.1/src'
make: *** [all-recursive] Error 1


-- 
Friedemann Baitinger       [EMAIL PROTECTED]      http://baiti.net/fb

Reply via email to