Re: 1.3.1 almost done, please check with gcc 4.3
Miguel Martínez <[email protected]> Mon, 24 Nov 2008 19:53:34 +0100
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <20081124195334.48c56feb@lcpybm> |
On Mon, 24 Nov 2008 19:10:15 +0100 Christos Dimitrakakis <hidden email> wrote: > [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?] After your suggestion it compiles and runs fine. Thanks. I've been trying to "fix" K1999 by deleting ".h" from some includes and it fixes a few "whatever.h not found". I've also needed to add the <iterator> header and a "using" line, and K1999 also compiles now. The diff is as shows (forgive the quoting marks): $ diff K1999.cpp old_K1999.cpp 15c15 < #include <iostream> --- > #include <iostream.h> 26c26 < #include <iomanip> --- > #include <iomanip.h> 29c29 < #include <fstream> --- > #include <fstream.h> 37,38c37 < #include <iterator> < using namespace std; --- > -- ---------------------------------------- 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