ww3877989 / google-breakpad

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

cannot build by VS2010 and VS2012 due to max #584

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. building dump_sym using VS2010 or VS2012

What is the expected output? What do you see instead?
Can build if using VS2010 or VS2012.

This is well-known 'max' macro issue on VS2010 or VS2012

What version of the product are you using? On what operating system?
r1323.

Please provide any additional information below.

Error log is the following.

1>..\..\..\common\windows\pdb_source_line_writer.cc(508): warning C4003: not 
enough actual parameters for macro 'max'
1>..\..\..\common\windows\pdb_source_line_writer.cc(508): error C2589: '(' : 
illegal token on right side of '::'
1>..\..\..\common\windows\pdb_source_line_writer.cc(508): error C2059: syntax 
error : '::'
1>..\..\..\common\windows\pdb_source_line_writer.cc(509): warning C4003: not 
enough actual parameters for macro 'max'
1>..\..\..\common\windows\pdb_source_line_writer.cc(509): error C2589: '(' : 
illegal token on right side of '::'
1>..\..\..\common\windows\pdb_source_line_writer.cc(509): error C2059: syntax 
error : '::'
1>..\..\..\common\windows\pdb_source_line_writer.cc(511): warning C4003: not 
enough actual parameters for macro 'max'
1>..\..\..\common\windows\pdb_source_line_writer.cc(511): error C2589: '(' : 
illegal token on right side of '::'
1>..\..\..\common\windows\pdb_source_line_writer.cc(511): error C2059: syntax 
error : '::'

Original issue reported on code.google.com by makoto...@gmail.com on 2 May 2014 at 2:03