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

Ben Pope benpope81 at gmail.com
Mon Aug 4 01:41:06 PDT 2014


On 08/04/2014 03:41 AM, Dan Albert wrote:
> Does the following work?
>
>      $ clang++ -nostdinc++ -I/usr/include/c++/v1/ -stdlib=c++ abi.cpp

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
#include <stddef.h>

So, yes, it finds the file at least.

Ben




More information about the cfe-dev mailing list