Is this a regression introduced in Ubuntu? The SVN sources for clang 3.5.0 and 3.5.1 both contain the fix introduced in rL201729.
This bug seriously limits the usefulness of clang 3.5 on Ubuntu, as it also suffers from a serious bug in libstdc++-4.8 (see, for example, http://lists.cs.uiuc.edu/pipermail/llvmbugs/2014-January/032040.html). At this point, the following appear to be impossible on Ubuntu 14.04: - Using clang++ in c++11 mode to compile (anything including) cstdio from gcc-4.8. - Using clang++ in c++11 mode to compile (anything including) cstddef from gcc-4.9. - Using clang++ in c++11 mode to compile (anything including) both cstdio and cstddef from *any* gcc. A good example of a project in the last category is clang itself: it requires c++11 mode, cstdio and cstddef. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1401202 Title: clang-3.5 fails to compile C++11 files after installing gcc-4.9 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1401202/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs