forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Updated script 005-libbuletml to support gcc >= 4.3

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Mon Aug 25, 2008 5:24 am    Post subject: Updated script 005-libbuletml to support gcc >= 4.3 Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Mon Aug 25, 2008 5:36 am    Post subject: Reply with quote

Can you post a patch? it is easier to maintain the source repositories :)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Mon Aug 25, 2008 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Aug 25, 2008 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Aug 25, 2008 5:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
F0L



Joined: 09 Mar 2008
Posts: 8
Location: Wales, United Kingdom

PostPosted: Mon Oct 20, 2008 2:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group