[kde-solaris] (no subject)
LeBar, Russell
kde-solaris@mail.kde.org
Thu Feb 27 19:30:07 2003
So how did you guys who have compiled KDE 3.1 get around this one? Looks
like the show stopper is 'exception' being defined twice in kcalc. I could
just not compile kcalc but I actually want that one. Using Gcc 3.2.1 and Qt
3.1.1 on Solaris 8 Sparc.
Thanks!
/bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I.. -I/usr/local/kde31/include
-I/usr/local/qt-x11-free-3.1.1/include -D_GNU_SOURCE -D_ISOC99_SOURCE
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS
-DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c
-o kcalc.lo `test -f 'kcalc.cpp' || echo './'`kcalc.cpp
kcalc.cpp: In member function `void QtCalculator::history_prev()':
kcalc.cpp:2240: warning: comparison between signed and unsigned integer
expressions
source='kcalc_core.cpp' object='kcalc_core.lo' libtool=yes \
depfile='.deps/kcalc_core.Plo' tmpdepfile='.deps/kcalc_core.TPlo' \
depmode=gcc3 /bin/bash ../admin/depcomp \
/bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I.. -I/usr/local/kde31/include
-I/usr/local/qt-x11-free-3.1.1/include -D_GNU_SOURCE -D_ISOC99_SOURCE
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS
-DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c
-o kcalc_core.lo `test -f 'kcalc_core.cpp' || echo './'`kcalc_core.cpp
In file included from stats.h:30,
from kcalc.h:46,
from kcalc_core.cpp:46:
/usr/include/math.h:189: use of `exception' is ambiguous
/usr/include/math.h:86: first declared as `struct exception' here
/usr/local/include/c++/3.2.1/exception:51: also declared as `class
std::exception' here
/usr/include/math.h:189: `exception' denotes an ambiguous type
/usr/include/math.h:86: first type here
/usr/local/include/c++/3.2.1/exception:51: other type here
kcalc_core.cpp: In member function `void QtCalculator::EnterNegate()':
kcalc_core.cpp:665: warning: comparison between signed and unsigned integer
expressions
gmake[2]: *** [kcalc_core.lo] Error 1
gmake[2]: Leaving directory `/export/home/rjl01/kde31/kdeutils-3.1/kcalc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/rjl01/kde31/kdeutils-3.1'
gmake: *** [all] Error 2
Russ LeBar
Enterprise Rent-A-Car Phone:314-512-3355
Network Management System Administration Fax:314-512-6002
UNIX System Administrator Pager:314-841-7565