Finally, Xcode 4.2 brings C++0x to all of us. Yes, I know that there is C++11 already, but clang compiler shipped with Xcode supports only some (huge) part of C++11 so it's still a kind of C++0x :). This was a good news. The bad one is that the appropriate C++0x STL is available only for happy Lion users. They get the brand new LLVM's libc++ library with about 98% of C++11 supported. But sad Snow Leopard's users get the only error "clang: error: invalid deployment target for -stdlib=libc++ (requires Mac OS X 10.7 or later)".
The main joke is that clang from LLVM's trunk builds c++0x code with using libc++ library without this error. So I'm going to replace Xcode's clang with the LLVM's latest one. Probably it saves me from moving to Lion. Although, Lion becomes more and more interesting every day! :)
I have yet to successfully debug a C++0x project on Lion.
ReplyDeleteYou are the one of happy Lion users, you get all but we get bread crumbs only on Snow Leopard =)
ReplyDeleteIs C++11 STL works well?
I know it's been a while but compilation works well. I'm not sure about debugging!
Delete