Boost logo

Boost :

From: Andreas Scherer (as_at_[hidden])
Date: 2000-12-01 05:27:37


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>.)

Thanks,
Andreas


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