Boost logo

Boost :

From: Schalk_Cronje_at_[hidden]
Date: 2004-01-05 11:28:07

>If we do that, we can also ensure that BOOST_CONFIG #defines all of them (mostly to zero) and we can eliminate the issues >with warnings from BOOST_WORKAROUND doing comparisons on macros which haven't been defined.

I would agree with it. It is much easier to test for something like


instead of trying to remember whether it is __GCC__ or __GNUC__ or damn I cannot even remember. Might be use to extend this to having


which defines the major and minor versions numbers for a specific compiler i.e.

        #if defined (BOOST_CC_MSVC) && (BOOST_CC_MAJOR<13)


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