* A. Christine Spang <[EMAIL PROTECTED]> [2007-04-13 14:39]:
> I'm having trouble trying to build this package using gcc-snapshot.
> Would it be possible for you to re-test with the latest version now in
> unstable (0.2.8.2.1-2) and verify that a) the build still fails, and b)
> that your patch is still correct? (0.2.8.2.1-2)

Actually, it appears that my initial patch was incomplete, although
I've no idea why because iirc I tested a full build.  Anyway, a new,
tested patch is below.

You probably didn't see the problem because gcc-snapshot 20070326-1 is
not available on i386.  You have to use amd64, ia64 or powerpc, or
wait for another gcc-snapshot upload that'll build on i386.


--- src/tools/tError.cpp~       2007-04-14 06:41:17.000000000 +0000
+++ src/tools/tError.cpp        2007-04-14 06:41:25.000000000 +0000
@@ -26,6 +26,7 @@
 */
 
 #include "config.h"
+#include <cstdlib>
 #include <iostream>
 #if HAVE_UNISTD_H
 #include <unistd.h>
--- src/tools/tRandom.cpp~      2007-04-14 06:42:01.000000000 +0000
+++ src/tools/tRandom.cpp       2007-04-14 06:43:24.000000000 +0000
@@ -34,6 +34,8 @@
 #include    <stdlib.h>
 #endif
 
+#include <cstdlib>
+
 #include    "tError.h"
 #include    "tRecorder.h"
 
--- src/tron/gAIBase.cpp~       2007-04-14 06:35:54.000000000 +0000
+++ src/tron/gAIBase.cpp        2007-04-14 06:36:11.000000000 +0000
@@ -43,6 +43,7 @@
 #include "tRandom.h"
 #include "tRecorder.h"
 #include <stdlib.h>
+#include <algorithm>
 
 #define AI_REACTION          0 
 #define AI_EMERGENCY         1 
--- src/tron/gCycle.cpp~        2007-04-14 06:37:51.000000000 +0000
+++ src/tron/gCycle.cpp 2007-04-14 06:38:01.000000000 +0000
@@ -52,6 +52,7 @@
 #include "tMath.h"
 #include <stdlib.h>
 #include <fstream>
+#include <algorithm>
 
 #ifndef DEDICATED
 #define DONTDOIT

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to