Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-05-13 06:55:04

> One of the first things the configuration header does is:
> #if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD)
> #endif
> However, during compilation, _GLOBAL_USING is defined but without value
> and _STD is not defined, so BOOST_NO_STDC_NAMESPACE is set.
> I tried to uncover the meaning of these macros, but the only explanation I
> found was this sentence of Peter Dimov in another mail: "Dinkumware puts
> the names in std:: when _GLOBAL_USING is #defined to 1 in <yvals.h>."

Getting things correct for the dinkumware lib, is nothing short of Voodoo,
they tend not to expose macros that we can use consistently - whatever
patches applied.

> conditional expression. But it was not enough, BOOST_NO_STDC_NAMESPACE was
> still defined. This time, it's in config/platform/linux.hpp:
> // Intel on linux doesn't have swprintf in std::
> #ifdef __ICC
> #endif
> Since there already exists a macro BOOST_NO_SWPRINTF (which is correctly
> set), this portion of code is not needed, is it?



John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at