Re: [K68-user] Compiling problem
Status: Alpha
Brought to you by:
jstembridge
From: James S. <jst...@gm...> - 2003-04-04 14:34:41
|
Hi, I've just made the upgrade to gcc 3.2 and found the exact same problem. I'll hopefully have a solution quite soon and release a new version. James. On Fri, 4 Apr 2003 15:48:56 +0200, Vit...@cs... said: > Hello, > I tried to compile k68-0.1 but with no success. > I am using gcc 3.2.2, Qt-3.2.1 and openobex-1.0.0 with Slackware 9. > The configuration process goes smooth but the compiling give me an error. > Could it be a compiler bug ? > Here is the trace: > > allero@cp160091:~/src/k68-0.1$ make > make all-recursive > make[1]: Entering directory `/home/vallero/src/k68-0.1' > Making all in k68 > make[2]: Entering directory `/home/vallero/src/k68-0.1/k68' > source='settings.cpp' object='settings.o' libtool=no \ > depfile='.deps/settings.Po' tmpdepfile='.deps/settings.TPo' \ > depmode=gcc3 /bin/sh ../admin/depcomp \ > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include > -I/usr/lib/qt-3.1.2/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT > -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c -o settings.o `test > -f settings.cpp || echo './'`settings.cpp > In file included from settings.cpp:18: > settings.h:38: invalid in-class initialization of static data member of > non-integral type `const char* const' > settings.h:39: invalid in-class initialization of static data member of > non-integral type `const char* const' > settings.h:40: invalid in-class initialization of static data member of > non-integral type `const char* const' > settings.h:41: invalid in-class initialization of static data member of > non-integral type `const char* const' > settings.h:42: invalid in-class initialization of static data member of > non-integral type `const char* const' > In file included from settings.cpp:20: > bluetoothsettings.h:32: invalid in-class initialization of static data > member > of non-integral type `const char* const' > bluetoothsettings.h:33: invalid in-class initialization of static data > member > of non-integral type `const char* const' > bluetoothsettings.h:34: invalid in-class initialization of static data > member > of non-integral type `const char* const' > bluetoothsettings.h:35: invalid in-class initialization of static data > member > of non-integral type `const char* const' > bluetoothsettings.h:36: invalid in-class initialization of static data > member > of non-integral type `const char* const' > bluetoothsettings.h:37: invalid in-class initialization of static data > member > of non-integral type `const char* const' > In file included from settings.cpp:21: > infraredsettings.h:33: invalid in-class initialization of static data > member of > non-integral type `const char* const' > infraredsettings.h:34: invalid in-class initialization of static data > member of > non-integral type `const char* const' > infraredsettings.h:35: invalid in-class initialization of static data > member of > non-integral type `const char* const' > In file included from settings.cpp:22: > serialcablesettings.h:33: invalid in-class initialization of static data > member > of non-integral type `const char* const' > serialcablesettings.h:34: invalid in-class initialization of static data > member > of non-integral type `const char* const' > serialcablesettings.h:35: invalid in-class initialization of static data > member > of non-integral type `const char* const' > serialcablesettings.h:36: invalid in-class initialization of static data > member > of non-integral type `const char* const' > settings.cpp: In constructor `Settings::Settings(QWidget*, const char*)': > settings.cpp:51: `configGroup' undeclared (first use this function) > settings.cpp:51: (Each undeclared identifier is reported only once for > each > function it appears in.) > settings.cpp:52: `configTransport' undeclared (first use this function) > settings.cpp:52: `configSerialCable' undeclared (first use this function) > settings.cpp:53: `configBluetooth' undeclared (first use this function) > settings.cpp:56: `configInfrared' undeclared (first use this function) > make[2]: *** [settings.o] Error 1 > make[2]: Leaving directory `/home/vallero/src/k68-0.1/k68' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vallero/src/k68-0.1' > make: *** [all] Error 2 > > > Thanks in advance > > -- James Stembridge jst...@gm... -- http://www.fastmail.fm - Choose from over 50 domains or use your own |