Fix builds with Visual Studio 2013 #5059

Closed
szekerest opened this Issue Jan 18, 2015 · 4 comments

Projects

None yet

2 participants

@szekerest
Member

When building mapserver with VS2013, the following errors:

..renderers/agg/include/agg_conv_clipper.h(72): error C2039: 'max' : is not a member of 'std'

Due to a breaking change in VS2003, you must use #include when you call std::min() or std::max()

For more information refer to the STL section of the following document:
http://msdn.microsoft.com/en-us/library/vstudio/bb531344%28v=vs.120%29.aspx

@szekerest szekerest self-assigned this Jan 18, 2015
@szekerest szekerest added this to the 6.4.2 release milestone Jan 18, 2015
@jmckenna
Member

I believe all of the work now should go to making sure Visual Sudio 2014 is supported in our MapServer environments. Dane Springmeyer has recently done a lot of work to make sure of this, for Mapnik and Mapbox:

@jmckenna
Member

..which I believe is now referred to as "Visual Studio 2015 preview"

@szekerest
Member

I prefer to work with release versions only.
Once VS2015 is released, I'm going to switch my builds to that version shortly.

@jmckenna
Member

ok. I will also upgrade my builds to 2013 now. Thanks.

@szekerest szekerest closed this Jan 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment