
14 Nov
2008
14 Nov
'08
4:49 p.m.
Dan Smithers wrote:
Hi I have a problem building under studio 2008. It appears that
#define max(a,b) ...
collides with the member function greg_month::max() and won't compile complaining that not enough arguments are provided.
[snip] You could try putting a "#define NOMINMAX" before including the "windows.h" header. But beware that I'm not an expert, so it might not work, or cause something else to fail. -yzt