
11 Dec
2012
11 Dec
'12
8:29 p.m.
Le 11/12/12 20:47, Peter Dimov a écrit :
Vicente J. Botet Escriba wrote:
Hi,
next follows a compile error with clang 3.1 c++11 just including
#include <boost/shared_ptr.hpp>
This is probably another manifestation of the issue with clang supporting the c++11 core language, but the libstdc++ not supporting it, namely, <ctsddef> not defining nullptr_t. I'm not sure how to fix that. !defined(BOOST_NO_CXX11_NULLPTR) does, in my opinion, imply that std::nullptr_t is present (along with nullptr itself). It's not clear how a library could offer nullptr support without using nullptr_t.
Ok, I will update my libc++ installation. Best, Vicente