[mythtv] [mythgame] CVS failes to compile

Tommy Faasen mythtv at zwanebloem.nl
Wed Apr 21 09:24:50 EDT 2004


Hi,

I get this error,

cd mythgame && make -f Makefile
make[1]: Entering directory `/mnt/fast/newsan/mythcvs/mythgame/mythgame'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
-D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/include/qt3 -o mamehandler.o mamehandler.cpp
mamehandler.cpp: In method `void MameHandler::makecmd_line(const char *,
QString *, MameRomInfo *)':
mamehandler.cpp:970: ambiguous overload for `QString & ? QString & :
const char[2]'
mamehandler.cpp:970: candidates are: operator ?:(bool, QString, QString)
<builtin>
mamehandler.cpp:970:                 operator ?:(bool, const char *,
const char *) <builtin>
make[1]: *** [mamehandler.o] Error 1
make[1]: Leaving directory `/mnt/fast/newsan/mythcvs/mythgame/mythgame'
make: *** [sub-mythgame] Error 2

I know to little about overloading to see what's wrong??

No problem fixing it if somebody would point me in the right direction.


Regards,

Tommy


More information about the mythtv-dev mailing list