Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-05-27 08:23:05


on 5/26/00 5:09 PM, Jens Maurer at jmaurer_at_[hidden] wrote:

> Thus, I suggest addding a "BOOST_MSVC" define to the relevant
> section of config.hpp. This flag shall state that the current
> compiler is indeed MSVC (and not Borland or any other which defines
> _MSC_VER).
>
> It shall be strongly discouraged to use BOOST_MSVC in a public
> header file; invent a new #define which more precisely states
> the bug being worked around instead.
>
> All this is only a problem with MSVC, the other compilers
> have unique preprocessor symbols such as __GNUC__ or __BORLANDC__.
>
> Jens Maurer

I second this suggestion. Jens, why don't you post some proposed changes for
review?

-Dave


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