kidok / protobuf

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

Min and max not defined under Windows/Intel C++ #635

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try compiling using Intel C++ compiler (64-bit, either debug or release)
2. It fails complaining that min/max is not defined
3.

What is the expected output? What do you see instead?
It should compile.

What version of the product are you using? On what operating system?
Visual Studio 2013, Intel Parallel Studio XE

Please provide any additional information below.
I've had to change every instance of `min` to `__min` (and likewise for `max`) 
to get it to compile.

Original issue reported on code.google.com by dmitrinesteruk on 4 May 2014 at 10:26

GoogleCodeExporter commented 9 years ago
Could be a duplicate of Issue 531 and Issue 616. If so, the fix has already 
been available as r512.

Original comment by yukawa@google.com on 5 Jul 2014 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by jie...@google.com on 24 Jul 2014 at 1:20

GoogleCodeExporter commented 9 years ago

Original comment by jie...@google.com on 24 Jul 2014 at 1:20