I've uploaded a upgrade of the psplibraries that correct a compilation problem
with gcc >= 4.3 for the libbulletml librarie
url : http://194.7.150.2/psplibraries.tgz
Updated script 005-libbuletml to support gcc >= 4.3
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
He included a patch for libbulletml inside the psplibraries packages, I just applied that to the library itself.$ svn commit
Sending src/calc.cpp
Sending src/tinyxml/tinyxml.cpp
Sending src/tinyxml/tinyxmlparser.cpp
Sending src/tinyxml/xmltest.cpp
Transmitting file data ....
Committed revision 2423.
Thanks again.
This is the patch, if you're curious.$ svn diff
Index: src/calc.cpp
===================================================================
--- src/calc.cpp (revision 2422)
+++ src/calc.cpp (working copy)
@@ -17,6 +17,7 @@
#define YYSTYPE float
#define YYERROR_VERBOSE
+#include <string.h>
#include <cmath>
#include <cctype>
Index: src/tinyxml/xmltest.cpp
===================================================================
--- src/tinyxml/xmltest.cpp (revision 2422)
+++ src/tinyxml/xmltest.cpp (working copy)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "tinyxml.h"
//
Index: src/tinyxml/tinyxmlparser.cpp
===================================================================
--- src/tinyxml/tinyxmlparser.cpp (revision 2422)
+++ src/tinyxml/tinyxmlparser.cpp (working copy)
@@ -23,6 +23,7 @@
#include "tinyxml.h"
+#include <string.h>
#include <ctype.h>
const char* TiXmlBase::SkipWhiteSpace( const char* p )
Index: src/tinyxml/tinyxml.cpp
===================================================================
--- src/tinyxml/tinyxml.cpp (revision 2422)
+++ src/tinyxml/tinyxml.cpp (working copy)
@@ -20,7 +20,8 @@
3. This notice may not be removed or altered from any source
distribution.
*/
-
+#include <stdlib.h>
+#include <string.h>
#include "tinyxml.h"
This issue seems to still exist. psplibraries fail to compile. After I apply this manually to calc.cpp, it compiles fine.ooPo wrote:$ svn diff
Index: src/calc.cpp
===================================================================
--- src/calc.cpp (revision 2422)
+++ src/calc.cpp (working copy)
@@ -17,6 +17,7 @@
#define YYSTYPE float
#define YYERROR_VERBOSE
+#include <string.h>
#include <cmath>
#include <cctype>