certik / yaml-cpp

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

'max' : is not a member of 'std' error in compiling ostream_wrapper #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tried to build ostream_wrapper in VS 2013

What is the expected output? What do you see instead?
got an error: 'max' : is not a member of 'std' 

What version of the product are you using? On what operating system?
yaml-cpp-0.5.1 on Windows 7, VS 2013

Please provide any additional information below.

problem is solved by adding #include <algorithm> to ostream_wrapper.cpp

Original issue reported on code.google.com by tcza...@gmail.com on 5 Feb 2015 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 7 Feb 2015 at 5:59