Boost logo

Boost :

Subject: Re: [boost] [test] Bug in Mingw support?
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-07-07 10:02:24


On 7/7/2015 4:14 AM, John Maddock wrote:
>
>> Without wishing to defend or disagree with Paul Mensonides' decision
>> to make Boost PP not depend on Boost config and to use a fairly
>> conservative test for variadic macro support in Boost PP, Boost.Test
>> could do:
>>
>> #include <boost/config.h>
>> #define BOOST_PP_VARIADICS !BOOST_NO_CXX11_VARIADIC_MACROS
>>
>> before including any Boost PP headers to let config determine variadic
>> macro support.
>>
>
> That's terribly fragile - it would work or not depending on the include
> order in the users program.

You are right. I was thinking only in terms of Boost.Test.


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