Boost logo

Boost :

Subject: Re: [boost] [config] Boost PP and variadic macros
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-04-05 09:03:37


On 4/5/2011 4:22 AM, John Maddock wrote:
>>> Unless I'm missing something, those shouldn't be needed - I deliberately
>>> disabled std lib configuration when __cplusplus isn't set as it makes no
>>> real sense in C mode?
>>
>> Agreed. But you do have checks for __cpluscplus in some of the other
>> config/stdlib header files so I made those patches to conform. Maybe you
>> could now remove those others, and just ignore those patches I sent.
>
> No, the point is that the compiler and platform configuration headers
> are included in C mode, but the C++ std lib ones are not (as there's no
> point).

I was not clear when I referred to "those others" above. What I meant by
it is that you have checks for __cpluscplus in some places within the
C++ std lib config headers, but they can be removed because you disabled
std lib configuration when __cpluscplus is not set. Attached are the
patch files for those changes for removing the checks for __cpluscplus
in the std lib headers, if you want to apply them.







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