|
Boost : |
Subject: Re: [boost] [config] BOOST_NO_CXX11_HDR_MEMORY and gcc-4.6.2
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-10-28 13:07:28
Le 28/10/13 17:09, Jonathan Wakely a écrit :
> On 28 October 2013 12:02, Vicente J. Botet Escriba wrote:
>> Le 28/10/13 12:58, Vicente J. Botet Escriba a écrit :
>>
>>> Le 27/10/13 19:02, John Maddock a écrit :
>>>>> I'm checking for BOOST_NO_CXX11_HDR_MEMORY to include <memory> file with
>>>>> gcc-4.6.2 C++0x and while the file is there (it was a C++98 file),it is not
>>>>> defining in particular pointer_traits and allocator_traits
>>>>>
>>>>> Could the following patch be applied?
>>>>
>>>> Nope: there is no such config macro as BOOST_NO_CXX11_HDR_MEMORY so it is
>>>> never defined.
>>> Hrr, you are right. To be uniform, is there an interest in adding it?
>>>>
>>>> Try BOOST_NO_CXX11_ALLOCATOR for your use case.
>>>>
>> default_delete is missing also. Is there an interest in
>> BOOST_NO_CXX11_DEFAULT_DELETE?
> Maybe I've misunderstood, but std::default_delete is not missing from
> GCC 4.6.2's <memory> header.
>
IIRC, the issue appears when compiling on C++98/03 mode. I would need to
check again.
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk