Re: [ES40-developers] Compilation Errors
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-03-14 20:42:55
|
Hello Pepito, I've included <typeinfo> from StdAfx.h. Could you try again? Camiel. On Fri, Mar 14, 2008 at 9:37 PM, Pepito Grillo <pep...@ya...> wrote: > Hi! > I was trying to compile the latest cvs, but... > thanks > > > nvlinux:/opt/es40_cvs/es40/src# make clean > rm -f es40 es40_idb es40_lss es40_lsm *.o *.do *.mao > *.slo *.trc gui/*.o gui/*.mao gui/*.slo gui/*.do > nvlinux:/opt/es40_cvs/es40/src# make > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AliM1543C.cpp -o AliM1543C.o > AliM1543C.cpp: In member function 'virtual void > CAliM1543C::init()': > AliM1543C.cpp:404: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AliM1543C_ide.cpp -o > AliM1543C_ide.o > In file included from AliM1543C_ide.cpp:200: > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.cpp: In member function 'virtual void > CAliM1543C_ide::init()': > AliM1543C_ide.cpp:311: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.cpp:312: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.cpp:313: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.cpp:314: warning: deprecated conversion > from string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AliM1543C_usb.cpp -o > AliM1543C_usb.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AlphaCPU.cpp -o AlphaCPU.o > In file included from AlphaCPU.cpp:329: > es40_float.h: In function 'double s2host(u64)': > es40_float.h:183: warning: division by zero in '((s != > 0) ? -0.0 : 0.0) / 0.' > es40_float.h:185: warning: division by zero in '((s != > 0) ? -1.0e+0 : 1.0e+0) / 0.' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AlphaCPU_ieeefloat.cpp -o > AlphaCPU_ieeefloat.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AlphaCPU_vaxfloat.cpp -o > AlphaCPU_vaxfloat.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AlphaCPU_vmspal.cpp -o > AlphaCPU_vmspal.o > In file included from AlphaCPU_vmspal.cpp:84: > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c AlphaSim.cpp -o AlphaSim.o > AlphaSim.cpp:195: warning: deprecated conversion from > string constant to 'char*' > AlphaSim.cpp:195: warning: deprecated conversion from > string constant to 'char*' > AlphaSim.cpp:195: warning: deprecated conversion from > string constant to 'char*' > AlphaSim.cpp:195: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c Cirrus.cpp -o Cirrus.o > Cirrus.cpp: In member function 'virtual void > CCirrus::init()': > Cirrus.cpp:240: warning: deprecated conversion from > string constant to 'char*' > Cirrus.cpp:242: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c Configurator.cpp -o > Configurator.o > In file included from Configurator.cpp:120: > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:319: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > AliM1543C_ide.h:340: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > Configurator.cpp:696: warning: deprecated conversion > from string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DEC21143.cpp -o DEC21143.o > DEC21143.cpp: In member function 'virtual void > CDEC21143::init()': > DEC21143.cpp:399: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp: In member function 'u32 > CDEC21143::nic_read(u32, int)': > DEC21143.cpp:525: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp: In member function 'void > CDEC21143::nic_write(u32, int, u32)': > DEC21143.cpp:563: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:594: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:602: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:760: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp: In member function 'void > CDEC21143::mii_access(u32, u32)': > DEC21143.cpp:808: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:815: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:901: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:913: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp: In member function 'void > CDEC21143::srom_access(u32, u32)': > DEC21143.cpp:1040: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp: In member function 'int > CDEC21143::dec21143_tx()': > DEC21143.cpp:1340: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:1378: warning: deprecated conversion from > string constant to 'char*' > DEC21143.cpp:1400: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c Disk.cpp -o Disk.o > Disk.cpp: In constructor 'CDisk::CDisk(CConfigurator*, > CSystem*, CDiskController*, int, int)': > Disk.cpp:145: warning: deprecated conversion from > string constant to 'char*' > Disk.cpp:146: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DiskController.cpp -o > DiskController.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DiskDevice.cpp -o DiskDevice.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DiskFile.cpp -o DiskFile.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DiskRam.cpp -o DiskRam.o > DiskRam.cpp: In constructor > 'CDiskRam::CDiskRam(CConfigurator*, CSystem*, > CDiskController*, int, int)': > DiskRam.cpp:99: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DMA.cpp -o DMA.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c DPR.cpp -o DPR.o > DPR.cpp: In member function 'void CDPR::SaveStateF()': > DPR.cpp:607: warning: deprecated conversion from > string constant to 'char*' > DPR.cpp: In member function 'void > CDPR::RestoreStateF()': > DPR.cpp:712: warning: deprecated conversion from > string constant to 'char*' > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c es40_debug.cpp -o es40_debug.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c Ethernet.cpp -o Ethernet.o > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > -I/usr/include/SDL -c Exception.cpp -o Exception.o > Exception.cpp: In member function 'virtual const char* > CConfigurationException::className() const': > Exception.cpp:37: error: must #include <typeinfo> > before using typeid > Exception.cpp: In member function 'virtual const char* > CThreadException::className() const': > Exception.cpp:39: error: must #include <typeinfo> > before using typeid > Exception.cpp: In member function 'virtual const char* > CWin32Exception::className() const': > Exception.cpp:40: error: must #include <typeinfo> > before using typeid > Exception.cpp: In member function 'virtual const char* > CSDLException::className() const': > Exception.cpp:41: error: must #include <typeinfo> > before using typeid > Exception.cpp: In member function 'virtual const char* > CGracefulException::className() const': > Exception.cpp:42: error: must #include <typeinfo> > before using typeid > Exception.cpp: In member function 'virtual const char* > CAbortException::className() const': > Exception.cpp:43: error: must #include <typeinfo> > before using typeid > make: *** [Exception.o] Error 1 > nvlinux:/opt/es40_cvs/es40/src# > > > ______________________________________________ > Enviado desde Correo Yahoo! > El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html > > ------------------------------------------------------------------------- > 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 > |