It is currently Sat Aug 22, 2020 3:38 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: std::min / std::max errors on build
PostPosted: Tue Jan 28, 2014 4:04 pm 

Joined: Sun Jan 05, 2014 11:24 am
Posts: 3
Hi -

I'm almost utterly clueless, so this is very likely to be a problem I created (and then possibly solved with blind luck), but in case not :

I'm on VS2013, win 7.

I've installed Polyvox (dev build from a week or two ago, "volumesoffun-polyvox-d96dcaa53191.zip") and when building I got an error about min and max not being a part of std. I believe this was in Region.cpp.

I googled the error and the based on what I read (which wasn't specific to Polyvox) I added

Code:
#include <algorithm>


to this file.

It seems to have built fine now.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: std::min / std::max errors on build
PostPosted: Tue Jan 28, 2014 8:02 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Strange... it builds fine for me but I can't actually see why! Anyway, I think it is fine to add <algorithm> and have done so in the develop branch.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net