View topic - spring compilation error boost 1.50



All times are UTC + 1 hour


Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 01 Aug 2012, 21:30 
User avatar

Joined: 30 Apr 2009, 20:11
HI to all, well, I was updating boost libs to 1.50 and I wasn't able to compile spring by two reason until now, first, boost::TIME_UTC was renamed to boost::TIME_UTC_, not big deal, easy to patch, but then an error over an overloaded function :( , like seems to me that is a boost problem.

I hope you can help me to fix this.

http://pastebin.com/7SCcS6zB

Searching in internet I found same error here:

http://hydra.nixos.org/build/2884055

JP


Top
 Offline Profile  
 
PostPosted: 01 Aug 2012, 23:35 
Moderator

Joined: 05 Aug 2009, 19:42
Patch supplied is how arch currently does it for 89.0, it may not work for you.
It most definitely doesn't work on the current git, a more permanent solution is being created by some people, but still no easy fix yet.


Attachments:
boost-1.50.patch.txt [106.42 KiB]
Downloaded 95 times
Top
 Online Profile  
 
PostPosted: 02 Aug 2012, 00:00 
User avatar

Joined: 30 Apr 2009, 20:11
Thanks you very much, I'll take a look to the patch.

JP


Top
 Offline Profile  
 
PostPosted: 02 Aug 2012, 05:59 
Spring Developer

Joined: 01 Jun 2005, 10:36
Location: The Netherlands
@jpcordovae Can you try whether the kill-using-namespace-streflop-2 branch does compile for you?

Quote:
http://hydra.nixos.org/build/2884055

Cool, didn't know spring was in nixos as well :P


Top
 Offline Profile  
 
PostPosted: 02 Aug 2012, 13:25 
User avatar

Joined: 30 Apr 2009, 20:11
@Tobi, except for TIME_UTC issue, it works perfect !!

I left the patch to fix the boost 1.50 TIME_UTC issue in the next link, it should work no matter what version of boost you use.

http://pastebin.com/ZtFCuD4Y

Thanks you guys.

JP


Top
 Offline Profile  
 
PostPosted: 07 Aug 2012, 15:36 
User avatar

Joined: 30 Apr 2009, 20:11
I left you a link to gcc 4.7 porting code documentation, to keep in mind.

http://gcc.gnu.org/gcc-4.7/porting_to.html

JP


Top
 Offline Profile  
 
PostPosted: 09 Aug 2012, 23:12 
Spring Developer

Joined: 31 May 2009, 23:08
for the reference the mantis bug report:

http://springrts.com/mantis/view.php?id=3164


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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

Site layout created by Roflcopter et al.