kidok / protobuf

Automatically exported from code.google.com/p/protobuf
0 stars 0 forks source link

zero_copy_stream_impl_lite.cc needs <algorithm> for min/max definitions #616

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try and build using Visual Studio 2013

What is the expected output? What do you see instead?
src\google\protobuf\io\zero_copy_stream_impl_lite.cc fails to build because 
min/max aren't known. A #include of <algorithm> needs added to that file.

What version of the product are you using? On what operating system?
2.5.0 on Windows 8.1 using Visual Studio 2013.

Original issue reported on code.google.com by bruce.c...@gmail.com on 13 Mar 2014 at 9:24

GoogleCodeExporter commented 9 years ago
This issue was fixed as r512.
Maybe next release will contain the fix.

Original comment by yukawa@google.com on 23 Mar 2014 at 10:47

GoogleCodeExporter commented 9 years ago
And I guess this is a dup of Issue 531.

Original comment by yukawa@google.com on 23 Mar 2014 at 10:49

GoogleCodeExporter commented 9 years ago

Original comment by xiaof...@google.com on 24 Mar 2014 at 6:24