1 Dec
2004
1 Dec
'04
1:49 a.m.
Dan Dimerman wrote:
The warning reads: C:\Boost\include\boost-1_32\boost\date_time\gregorian\greg_facet.hpp(293) : warning C4003: not enough actual parameters for macro 'max'
This is a date_time bug. Boost has guidelines for avoiding clashes with the min/max macros, which you can read at http://boost.org/more/lib_guide.htm. Requiring users to #define NOMINMAX is not satisfatory. Sadly, there are 3rd party libraries, and even platform headers, that depend on those macros. To play well in the real world, Boost headers should compile cleanly even in the presence of the min/max macros. -- Eric Niebler Boost Consulting www.boost-consulting.com