Menu

#11 cfixcc.h mess things up

open
nobody
5
2010-07-02
2010-07-02
Anonymous
No

std::cout << std::numeric_limits<double>::max() << std::endl; creates the following error messages

c:\users\alvin\workplace\geobase\geobase\geobase.cpp(11): warning C4003: not enough actual parameters for macro 'max'
c:\users\alvin\workplace\geobase\geobase\geobase.cpp(11): error C2589: '(' : illegal token on right side of '::'
c:\users\alvin\workplace\geobase\geobase\geobase.cpp(11): error C2059: syntax error : '::'

after #include <cfixcc.h> in VC2010

Discussion


Log in to post a comment.

MongoDB Logo MongoDB