mrosenbladt / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Build fails with Visual Studio 2013 #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building yaml-cpp-0.5.1 with Visual Studio 2013, the build fails with a 
'max' : is not a member of 'std' message in the ostream_wrapper.cpp file.

The issue is simply fixed by adding:

#include <algorithm>

Original issue reported on code.google.com by gmr....@gmail.com on 19 Jul 2014 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 19 Jul 2014 at 3:03

GoogleCodeExporter commented 9 years ago
This was fixed in

https://code.google.com/p/yaml-cpp/source/detail?r=3be80700b052236ff09014a345eb6
7d3ae0a273f

but I haven't bumped the version number since.

Original comment by jbe...@gmail.com on 19 Jul 2014 at 3:05