|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-19 16:17:13
"Hartmut Kaiser" <hartmut.kaiser_at_[hidden]> writes:
>
> David Abrahams wrote:
>
>> >> This one is easy. Just run the tool twice, once with the macro
>> >> defined and once without.
>> >
>> > Not if there's more than one of them: it becomes a 2^N problem.
>>
>> Oh far, more than that. Consider something like:
>>
>> -DBOOST_MPL_MAX_SEQUENCE_LENGTH=40
>>
>> The value of this macro affects which headers get included.
>
> But this particular macro is application specific, ergo should be constant
> for all different compiler configurations. The problematic part are the
> compiler dependent config macros, IMHO.
User configuration info counts too, as we saw with
BOOST_SP_USE_QUICK_ALLOCATOR.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net