[cfe-dev] [3.5 Release] <cxxabi.h> not found by clang-3.5 rc1 with libc++

Ben Pope benpope81 at gmail.com
Tue Aug 5 03:23:07 PDT 2014

On 08/04/2014 04:58 PM, Dan Albert wrote:
>     ben:~/development/test$ clang++-3.5 -std=c++11 -stdlib=libc++ abi.cpp
>     -nostdinc -I/usr/include/c++/v1
>     In file included from abi.cpp:1:
>     /usr/include/c++/v1/cxxabi.h:__18:10: fatal error: 'stddef.h' file
>     not found
> -nostdinc*++*. We still want it to find the standard headers, just not
> libstdc++.

Mea culpa, it compiles successfully.

> LLVM_ENABLE_LIBCXX controls whether or not LLVM itself is built with
> libc++. AFAIK, it shouldn't affect clang's behavior from the user side
> of things.
> Sounds like it's an issue with clang's default include search path.
> Maybe one of the clang people can chime in?

Is there some way to check what the include paths are?


More information about the cfe-dev mailing list