|
Boost : |
From: Björn Karlsson (Bjorn.Karlsson_at_[hidden])
Date: 2002-10-01 04:31:57
> From: Markus Schöpflin [mailto:markus.schoepflin_at_[hidden]]
> It's even more complicated than that. :-)
>
> You can't check for Dinkumware lib with MSVC6 because it
> doesn't define
> _CPPLIB_VER. This macro is only defined in later version of
> the Dinkumware
> library. I think that's why there was a test for
> !defined(_CPPLIB_VER).
Aha! That makes sense. Then I suggest we do this:
#if (defined(_MSC_VER) && (_MSC_VER <= 1300)) && ((!defined(_CPP_LIB_VER) &&
defined(_YVALS)) || (defined(_CPPLIB_VER) && (_CPPLIB_VER < 306)))
as _YVALS is defined on MSVC 6.
> The config system already does all the hard work for us, why
> don't why add
> some makro to it?
Sounds like a good idea, but adding a config macro is a "global operation",
while changing this faulty test is a very localized change. For now, I think
we should concentrate on getting this right, preferably before 1_29_0 is
released.
Bjorn Karlsson
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk