Re: 1.3.1 almost done, please check with gcc 4.3

Miguel Martínez <[email protected]> Mon, 24 Nov 2008 18:45:55 +0100
Newsgroups gmane.games.torcs.devel
Message-ID <20081124184555.684f206d@lcpybm>
Hi Bernhard,

A CVS checkout stops compiling on my new computer in K1999. The errors
are the following:

K1999.cpp:15:22: error: iostream.h: No existe el fichero ó directorio
K1999.cpp:26:21: error: iomanip.h: No existe el fichero ó directorio
K1999.cpp:29:21: error: fstream.h: No existe el fichero ó directorio

I fear the issue here is that iostream.h has been deprecated in gcc
4.3, but I'm not 100% sure. Removing K1999 results in another error,
this time in olethros:

Trajectory.cpp: In member function ‘void
Trajectory::Optimise(SegmentList, int, float, const char*, bool)’:
Trajectory.cpp:285: error: ‘strcmp’ no se declaró en este ámbito

The rest of torcs compiles, and seems to work fine. It could be my
fault, since it's the first time I've compiled torcs in this machine
(first time also in x86_64). I'm running Ubuntu 8.10 x86_64, with the
relevant parts being:

$ uname -a
Linux lcpybm 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64
GNU/Linux

$ LANG=en_US.UTF-8 gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.2-1ubuntu11'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) 

I'm running Xorg 7.4, with plib 1.8.4. I will try an x86 install of
Debian Lenny tomorrow (xorg 7.3, kernel 2.6.26, gcc 4.3)

Regards,

Miguel



On Sun, 23 Nov 2008 23:47:40 +0100 Bernhard Wymann <[email protected]>
wrote:
> Hi all
> 
> Could somebody check if the r1-3-1 branch is compiling with 1.3.1?
> Thank you in advance.
> 
> Bernhard
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK
> & win great prizes Grand prize is a trip for two to an Open Source
> event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ Torcs-devel mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-devel


-- 
----------------------------------------
Miguel Martínez Canales
   Dto. Física de la Materia Condensada
   UPV/EHU
   Facultad de Ciencia y Tecnología
   Apdo. 644
   48080 Bilbao (Spain)
Fax:  +34 94 601 3500
Tlf:  +34 94 601 5326
----------------------------------------

 "If you have an apple and I have an apple and
 we exchange these apples then you and I will
 still each have one apple. But if you have an
 idea and I have an idea and we exchange these
 ideas, then each of us will have two ideas."

 George Bernard Shaw 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Torcs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-devel