Re: [ES40-developers] can't compile cvs
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-06-12 18:02:25
|
Hi Brian, Apparently it means that some C++ compilers don't like it ;-) I think it tries to treat the CScopedLock<CMutex> as CMutex::CScopedLock<CMutex>. Visual C++, as well as the particular version of gcc that I tried treat this the way I intended it. Caolán McNamara fixed this by replacing CScopedLock<CMutex> with ::CScopedLock<CMutex>. That patch is in the CVS repository. Camiel. On Tue, Jun 3, 2008 at 6:55 PM, Brian Wheeler <bdw...@in...> wrote: > Only being a newbie with C++, what does this error mean? > > g++ -DHAVE_CONFIG_H -I. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -I/usr/include -DHAVE_PCAP -DHAVE_X11 -MT AliM1543C.o -MD -MP -MF .deps/AliM1543C.Tpo -c -o AliM1543C.o AliM1543C.cpp > In file included from StdAfx.h:307, > from AliM1543C.cpp:269: > base/Mutex.h:114: error: declaration of 'typedef class CScopedLock<CMutex> CMutex::CScopedLock' > base/ScopedLock.h:88: error: changes meaning of 'CScopedLock' from 'class CScopedLock<CMutex>' > base/Mutex.h:175: error: declaration of 'typedef class CScopedLock<CFastMutex> CFastMutex::CScopedLock' > base/ScopedLock.h:88: error: changes meaning of 'CScopedLock' from 'class CScopedLock<CFastMutex>' > make[2]: *** [AliM1543C.o] Error 1 > make[2]: Leaving directory `/home/bdwheele/Emulation/es40/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/bdwheele/Emulation/es40/src' > make: *** [all-recursive] Error 1 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > -- Bill Watterson - "There is not enough time to do all the nothing we want to do." |