Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-12-01 12:12:34


At 10:27 AM 12/1/2000 +0000, Andreas Scherer wrote:

>One of the recent updates of <boost/config.hpp> introduced the line
>
> #define NOMINMAX
>
>in the compiler-section for MSVC. Although this may be convenient
>for most of the users most of the time, I would like to ask that
>this be replaced by the more conservative version
>
> #ifndef NOMINMAX
> #define NOMINMAX
> #endif
>
>Technical reasons (aka compiler deficiencies) force us to define
>NOMINMAX in some of our own project files, and with the current
>settings of <boost/config.hpp>, MSVC issues a warning about the
>redefinition. (It's more or less undefined, which headers might
>come first, ours or <boost/config.hpp>.)

Done.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk