|
Boost Users : |
From: Eric Niebler (eric_at_[hidden])
Date: 2004-11-30 20:49:27
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
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