[cfe-dev] Using C++11 in clang-tools-extra Round 2

Vane, Edwin edwin.vane at intel.com
Tue Jan 8 04:55:21 PST 2013


Keep in mind that building clang/llvm with c++11 support would only be a requirement for those working with the tools-extra repository and even then we can further restrict to only the tools within that repo that want to use c++11. This is a small crowd so even if we have to use libc++ it's not going to have a big impact.

-----Original Message-----
From: Dr D. Chisnall [mailto:dc552 at hermes.cam.ac.uk] On Behalf Of David Chisnall
Sent: Tuesday, January 08, 2013 2:57 AM
To: Nico Weber
Cc: Vane, Edwin; Clang Dev List (cfe-dev at cs.uiuc.edu)
Subject: Re: [cfe-dev] Using C++11 in clang-tools-extra Round 2

On 7 Jan 2013, at 19:23, Nico Weber wrote:

> C++11 library support on OS X requires libc++, which in turn means
> that binaries won't run on OS X versions earlier than 10.7. Then 
> again, newer Xcodes don't support 10.6 any more, so it's probably not 
> a big deal. Just wanted to point this out.

On FreeBSD we have a similar situation.  libc++ can work, but won't be part of the base system's default install until 9.2 (which should be soon, since 9.1 was massively delayed).  Currently, I don't think the build logic for building libc++ as part of the LLVM build will correctly detect the libcxxrt that we have in the base system.

It would be a shame to make development difficult on the two platforms that have switched to clang as the default compiler...

David




More information about the cfe-dev mailing list