Horde3D

Next-Generation Graphics Engine
It is currently 19.03.2024, 11:40

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 22.10.2012, 03:37 
Offline

Joined: 22.10.2012, 03:33
Posts: 1
I found that if you're using a newer version of GCC (I'm using TDM-GCC 4.7), its become more strict about how templated functions may be invoked. You will receive an error that template functions are being invoked before they are defined, and you have to either:

  • Add -fpermissive to your compile flags, or
  • Put forward declarations for the template methods in rapidxml_print.h

Compiling with -O3 seems to result in a crash deep inside libstdc++, however this appears to be the fault of TDM-GCC and not Horde itself. Building with -O2 and adding forward declarations as above, appears to build and run without incident.


Top
 Profile  
Reply with quote  
PostPosted: 13.09.2013, 10:47 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Should be fixed in current svn trunk or github develop branch


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 15 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