compile error kdegames: kjumpingcube [HEAD]

Benjamin Meyer ben at meyerhome.net
Sun Oct 12 19:16:42 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shale we pick a new feature freeze date if we keep changing features in apps 
that havn't changed in months?  How about Nov 1st.

- -Benjamin Meyer

P.S. Don't forget to update the FEATURE LIST with any changes that are made.

On Sunday 12 October 2003 2:04 pm, Andreas Hartmann wrote:
> Hello,
>
> one more problem in kdegames:
>
> make[2]: Entering directory `/opt/cd/kde-3.2/kdegames/kjumpingcube'
> /opt/kde-3.2/qt-3.2.1/bin/uic -L /opt/kde-3.2/lib/kde3/plugins/designer
> -nounload -o settings.h ./settings.ui
> /opt/kde-3.2/bin/kconfig_compiler ./kjumpingcube.kcfg ./prefs.kcfgc
> kconfig_compiler: ERROR: Tag <choice> requires attribute 'name'.
> kconfig_compiler: ERROR: Tag <choice> requires attribute 'name'.
> kconfig_compiler: ERROR: Tag <choice> requires attribute 'name'.
> /opt/kde-3.2/qt-3.2.1/bin/moc ./kjumpingcube.h -o kjumpingcube.moc
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdegames -I/opt/kde-3.2/include
> -I/opt/kde-3.2/qt-3.2.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W
> -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
> -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 kjumpingcube.o -MD -MP -MF ".deps/
> kjumpingcube.Tpo" \
>   -c -o kjumpingcube.o `test -f 'kjumpingcube.cpp' || echo
> './'`kjumpingcube.cpp; \
> then mv -f ".deps/kjumpingcube.Tpo" ".deps/kjumpingcube.Po"; \
> else rm -f ".deps/kjumpingcube.Tpo"; exit 1; \
> fi
> In file included from kjumpingcube.cpp:30:
> prefs.h:14: error: parse error before `,' token
> prefs.h:14: error: missing ';' before right brace
> prefs.h:18: error: destructors must be member functions
> prefs.h: In function `QColor color1()':
> prefs.h:26: error: 'class Prefs' has no member named 'mColor1'
> prefs.h: In function `QColor color2()':
> prefs.h:35: error: 'class Prefs' has no member named 'mColor2'
> prefs.h: In function `int cubeDim()':
> prefs.h:44: error: 'class Prefs' has no member named 'mCubeDim'
> prefs.h: In function `int skill()':
> prefs.h:53: error: 'class Prefs' has no member named 'mSkill'
> prefs.h: In function `bool computerPlayer1()':
> prefs.h:62: error: 'class Prefs' has no member named 'mComputerPlayer1'
> prefs.h: In function `bool computerPlayer2()':
> prefs.h:71: error: 'class Prefs' has no member named 'mComputerPlayer2'
> prefs.h: At global scope:
> prefs.h:79: error: parse error before `protected'
> prefs.h:81: error: syntax error before `*' token
> prefs.h:92: error: parse error before `private'
> kjumpingcube.cpp: In member function `void KJumpingCube::showOptions()':
> kjumpingcube.cpp:286: error: 'class Prefs' has no member named 'self'
> kjumpingcube.moc: At top level:
> prefs.h:17: warning: `Prefs* self()' declared `static' but never defined
> prefs.h:25: warning: `QColor color1()' defined but not used
> prefs.h:34: warning: `QColor color2()' defined but not used
> prefs.h:43: warning: `int cubeDim()' defined but not used
> prefs.h:52: warning: `int skill()' defined but not used
> prefs.h:61: warning: `bool computerPlayer1()' defined but not used
> prefs.h:70: warning: `bool computerPlayer2()' defined but not used
> prefs.h:76: warning: `void writeConfig()' defined but not used
> make[2]: *** [kjumpingcube.o] Error 1
> make[2]: Leaving directory `/opt/cd/kde-3.2/kdegames/kjumpingcube'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/cd/kde-3.2/kdegames'
> make: *** [all] Error 2
>
>
> Regards,
> Andreas Hartmann
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

- -- 
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/iZqK1rZ3LTw38vIRAg0UAKC7CznKY9LOAURuC9aSf+Gk8e+oewCgqr1q
0qVWKZViQ30weX7xyH0J3DE=
=4WMe
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list