[PATCH] Fix for compiling Panda3d with gcc-4.3

gcc-4.3-missing-common-declarations.diff:

--- dtool/src/dtoolbase/dtoolbase.h	2007-04-18 15:51:36.000000000 -0600
+++ dtool/src/dtoolbase/dtoolbase.h	2008-06-29 20:24:39.000000000 -0600
@@ -92,6 +92,11 @@
 #include <assert.h>
 
 #ifdef __GNUC__
+// Make sure that we get the proper declarations for memset, and other
+// basic stuff
+#include <string.h>
+#include <stdlib.h>
+#include <limits.h>
 // Large file >2GB support
 // this needs be be before systypes.h and other C headers
 #define _FILE_OFFSET_BITS 64

Got it, thanks.

David

No problem. I actually found the fix somewhere else in the forum, just figured I’d make sure it got into the code base.

You guys really need to get a bug tracker setup; posting patches in a forum feels funny :wink: