Boost logo

Boost Users :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-11-28 16:34:04


Dan Dimerman wrote:
> C:\Boost\include\boost-1_32\boost\date_time\gregorian\greg_facet.hpp(293) :
> warning C4003: not enough actual parameters for macro 'max'

before including <windows.h> put
#define NOMINMAX
or put this definition into project settings. Another solution is to
undef min max macros after including <windows.h> :
#undef min
#undef max

B.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net