From kde-devel Sat Oct 02 05:02:23 2004 From: Pavel Troller Date: Sat, 02 Oct 2004 05:02:23 +0000 To: kde-devel Subject: 3_3_BRANCH - kdelibs compile fails in kjs Message-Id: <20041002050223.GA8943 () tangens ! sinus ! cz> X-MARC-Message: https://marc.info/?l=kde-devel&m=109669335806290 Hi! From yesterday, I cannot compile kdelibs anymore. The problem is in kjs, where the recent cause the following: if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I.. -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/opt/qt3.2/include -I/opt/X11/include -I/opt/kde3.3/include -I/opt/sound/include -I/opt/samba/include -I/opt/kde3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=i586 -mcpu=i586 -fomit-frame-pointer -fforce-mem -fforce-addr -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT libkjs_la.all_cpp.lo -MD -MP -MF ".deps/libkjs_la.all_cpp.Tpo" \ -c -o libkjs_la.all_cpp.lo `test -f 'libkjs_la.all_cpp.cpp' || echo './'`libkjs_la.all_cpp.cpp; \ then mv ".deps/libkjs_la.all_cpp.Tpo" ".deps/libkjs_la.all_cpp.Plo"; \ else rm -f ".deps/libkjs_la.all_cpp.Tpo"; exit 1; \ fi In file included from /usr/include/pthread.h:24, from /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/gthr-default.h:37, from /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/gthr.h:98, from /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/c++io.h:37, from /usr/include/c++/3.3.3/bits/fpos.h:44, from /usr/include/c++/3.3.3/iosfwd:49, from /usr/include/c++/3.3.3/bits/stl_algobase.h:70, from /usr/include/c++/3.3.3/list:67, from nodes.h:31, from internal.cpp:43, from libkjs_la.all_cpp.cpp:3: /usr/include/time.h:191: error: use of `tm' is ambiguous /usr/include/time.h:132: error: first declared as `struct tm' here date_object.h:125: error: also declared as `struct KJS::tm' here /usr/include/time.h:191: error: `tm' denotes an ambiguous type /usr/include/time.h:132: error: first type here date_object.h:125: error: other type here /usr/include/time.h:199: error: use of `tm' is ambiguous /usr/include/time.h:132: error: first declared as `struct tm' here date_object.h:125: error: also declared as `struct KJS::tm' here /usr/include/time.h:199: error: `tm' denotes an ambiguous type /usr/include/time.h:132: error: first type here date_object.h:125: error: other type here Yes, it's with --enable-final, but I think that such a fundamental package in stable branch should be compilable with it (and because the collision is with a system structure, I'm unsure whether it's even caused by it). With regards, Pavel Troller >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<