Hello,

For a long time LyX (both 1.1.6cvs and 1.1.5fix?) has failed to
compile formula.C using various versions of the gcc-2.96-x
compiler. Is the compiler, epecilaay the C++-libraries faulty or is it
possible to change the code itself?

Trying with ./configure results in an error reported earlier (Oct 8).
./configure --with-included-string results in an error also reported
earlier (Aug 8), see compiler output below.

Below is the output of todays (Nov 20) CVS and gcc-2.96-60 from RawHide:
(sooner or later I really would like to compile and use LyX again)

./autogen.sh;

./configure; make
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-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-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 `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned 
integer expressions
In file included from formula.C:30:
../../src/minibuffer.h: At top level:
../../src/minibuffer.h:17: 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
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[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make: *** [all-recursive] Error 1

./configure --with-included-string; make
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-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-exceptions -W -Wall -Wconversion 
-Winline -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
In file included from ../../src/gettext.h:35,
                 from ../../src/insets/lyxinset.h:22,
                 from formula.h:26,
                 from formula.C:24:
../../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