[mythtv] [mythgame] CVS failes to compile
Tommy Faasen
mythtv at zwanebloem.nl
Wed Apr 21 15:23:40 EDT 2004
On Wed, Apr 21, 2004 at 08:09:48AM -0800, Dan Morphis wrote:
> What version of gcc are you using to compile? I wrote that piece of
> code it's puking on and it compiles fine for me. I'm using: gcc version
> 3.3.2 20031022
>
I use debian stable gcc 2.95.4 else mythtv itself won't compile with kde
3.2.1.
I tried gcc 3.0.4 which had no problems but like I said that won't
compile mythtv itself on my system
So what's the problem??
regards,
Tommy
> -dan
>
> Tommy Faasen wrote:
>
> >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
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-dev mailing list
> >mythtv-dev at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> >
More information about the mythtv-dev
mailing list