This is probably a lyx bug:

./autogen.sh: OK
./configure: OK
make: fails
make[3]: Entering directory `/mnt/sdc3/lyx-devel/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I../../images -I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g 
-O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall 
-Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
In file included from ../../src/Lsstream.h:17,
                 from formula.C:19:
/usr/include/g++-3/sstream: In method `string stringstreambase::str () 
const':
/usr/include/g++-3/sstream:102: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `void stringstreambase::str 
(const string &)':
/usr/include/g++-3/sstream:107: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned 
integer expressions
In file included from formula.C:38:
../../src/LyXView.h: At top level:
../../src/LyXView.h:37: using directive `Object' introduced ambiguous 
type `_ObjectRec *'
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1

An earlier release of formula.[C,h] gave with the same compiler (reported a few weeks 
ago):
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-isystem /usr/X11R6/include -g -O -fhonor-std -fvtable-thunks -ffunction-sections 
-fdata-sections -W -Wall -Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C 
-o formula.o
In file included from ../../src/lyxfont.h:21,
                 from ../../src/insets/lyxinset.h:23,
                 from formula.h:26,
                 from formula.C:29:
../../src/LString.h:20:2: #error The <string> header has been included before LString.h
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make: *** [all-recursive] Error 1

Reply via email to