| View previous topic :: View next topic |
| Author |
Message |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Mon Aug 25, 2008 5:24 am Post subject: Updated script 005-libbuletml to support gcc >= 4.3 |
|
|
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 |
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Mon Aug 25, 2008 5:36 am Post subject: |
|
|
| Can you post a patch? it is easier to maintain the source repositories :) |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Mon Aug 25, 2008 5:44 am Post subject: |
|
|
the patch is provided int the tgz in the directory patch
just add include of stdlib and string.h so gcc >= 4.3 is happy ;) |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Aug 25, 2008 5:47 am Post subject: |
|
|
| Quote: | $ 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. |
He included a patch for libbulletml inside the psplibraries packages, I just applied that to the library itself.
Thanks again. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Aug 25, 2008 5:48 am Post subject: |
|
|
| Quote: | $ 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 is the patch, if you're curious. |
|
| Back to top |
|
 |
F0L

Joined: 09 Mar 2008 Posts: 8 Location: Wales, United Kingdom
|
Posted: Mon Oct 20, 2008 2:41 am Post subject: |
|
|
| ooPo wrote: | | Quote: | $ 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>
|
|
This issue seems to still exist. psplibraries fail to compile. After I apply this manually to calc.cpp, it compiles fine. |
|
| Back to top |
|
 |
|