[cfe-commits] libc++ #include fixes

Richard Smith richard at metafoo.co.uk
Mon Apr 16 13:19:47 PDT 2012


Hi,

The attached patch fixes the build of libc++ (at least for me and one other
person on IRC) by removing the (apparently unused) include of <cxxabi.h>
from src/stdexcept.cpp.

I've also added a bunch of #includes to the atomics tests in cases where
they were missing. libc++ provides the needed symbols through another
include, but libstdc++ doesn't -- this allows the atomics test suite to be
used to test that clang does the right thing when building libstdc++.

Does this seem reasonable?

Thanks!
-- Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120416/2466d0e0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx-include-fixes.diff
Type: application/octet-stream
Size: 14172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120416/2466d0e0/attachment.obj>


More information about the cfe-commits mailing list