Re: 1.3.1 almost done, please check with gcc 4.3

Christos Dimitrakakis <[email protected]> Mon, 24 Nov 2008 19:10:15 +0100
Newsgroups gmane.games.torcs.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


|
| 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
|

I just removed the offending (and useless) statement from r1-3-1.

[However, it should work if #include <cstring> is added, right?
On the other hand I am not sure why it compiles under gcc 4.2 -- perhaps
<cstring> is indirectly included via cstdlib or cstdio?]

| 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
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKu4HyBv6kELa61sRAjFIAKCRd+YXW5D2Cc30hqIJL8nublIVvgCfU4bK
ph5huaUdT3s+/GkNWurphws=
=g4DC
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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