Jose' Matos wrote:
On Friday 20 January 2006 17:48, Rex Dieter wrote:
gcc-4.1.0 (Fedora Core soon-to-be 5), lyx-1.3.7
./configure --with-frontend=qt
build fails (in this case on x86_64, but I don't think that's relavent).
Details appended at end. Full build log available from:
http://buildsys.fedoraproject.org/logs/fedora-development-extras/3124-lyx-1
.3.7-1.fc5/
Any ideas/workarounds?
Although not completely related we expect to release 1.4.0 before fc5 (even
t3). AFAIR this is fixed there, so if the fix is not easy I propose to skip
it in favour of 1.4.0 where this does not happens.
Apparently lyx-1.4.0pre3 has gcc-4.1.0 issues as well:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../../src -I./.. -I../../boost -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -c -o math_casesinset.lo math_casesinset.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./.. -I../../boost -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -c math_casesinset.C -o math_casesinset.o
In file included from ../../boost/boost/config.hpp:35,
from ../../boost/boost/shared_ptr.hpp:17,
from ../../src/lyxlayout_ptr_fwd.h:15,
from ../../src/paragraph.h:22,
from ../../src/ParagraphList_fwd.h:15,
from ../../src/undo.h:20,
from math_casesinset.C:23:
../../boost/boost/config/compiler/gcc.hpp:92:7: warning: #warning
"Unknown compiler version - please run the configure tests and report
the results"
../../src/paragraph.h:113: error: extra qualification 'Paragraph::' on
member 'asString'
Complete build logs:
http://buildsys.fedoraproject.org/logs/fedora-development-extras/3339-lyx-1.4.0-0.1.pre3.fc5/