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

Dan Albert danalbert at google.com
Sun Aug 3 19:41:13 PDT 2014


Does the following work?

    $ clang++ -nostdinc++ -I/usr/include/c++/v1/ -stdlib=c++ abi.cpp


On Sun, Aug 3, 2014 at 3:44 PM, Ben Pope <benpope81 at gmail.com> wrote:

> Ben Pope <benpope81 at ...> writes:
>
> >
> > I managed to post this to the llvm.devel
> list, so posting here also.
> > Apologies.
> >
> > This seems to be exclusive to the rc1, trunk
> works, clang-3.4 works, etc
> >
> > ben:~/development/test$ cat abi.cpp
> > #include <cxxabi.h>
> >
> > int main() {}
> >
> > ben:~/development/test$ clang++-3.4 -
> stdlib=libc++ abi.cpp
> > ben:~/development/test$ clang++-3.5 -
> stdlib=libc++ abi.cpp
> > abi.cpp:1:10: fatal error: 'cxxabi.h' file
> not found
> > #include <cxxabi.h>
> >           ^
> > 1 error generated.
> >
> > As far as I know, they all use the same
> libc++ install (also trunk) and
> > built against libc++abi.
> >
> > /usr/include/c++/v1/cxxabi.h exists and is
> installed when I install libc++.
> >
> > Ben
>
> Ping
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140803/a242ad0f/attachment.html>


More information about the cfe-dev mailing list