Horde3D

Next-Generation Graphics Engine
It is currently 21.11.2024, 19:57

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 14.06.2012, 02:02 
Offline

Joined: 18.07.2010, 15:01
Posts: 2
Hi

I have got an error while trying to build Horde3d on Fedora Linux 17 - GCC 4.7.0

Code:
/home/kariem2k/horde3d/Horde3D/Source/ColladaConverter/main.cpp: In function ‘int main(int, char**)’:
/home/kariem2k/horde3d/Horde3D/Source/ColladaConverter/main.cpp:166:54: error: no matching function for call to ‘remove_if(std::basic_string<char>::iterator, std::basic_string<char>::iterator, <unresolved overloaded function type>)’


Apparently GCC did not recognize STl's isspace, it used C isspace instead. so i added :: before isspace and it compiled on linux, but i never tried it on VS.

Attached a patch for latest SVN trunk code


Attachments:
isspaceerror.patch [531 Bytes]
Downloaded 1180 times
Top
 Profile  
Reply with quote  
PostPosted: 14.06.2012, 10:59 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thanks fixed it (works under VS2005 without problems, and shouldn't make problems on other compilers too)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 26 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group