[cfe-dev] New C++0x feature support in Clang

Eric Christopher echristo at apple.com
Fri Feb 4 15:09:18 PST 2011

> Maybe I should follow the advice here:
>  http://clang.llvm.org/get_started.html
> or more specifically the item 5:
> # If you intend to work on Clang C++ support, you may need to tell it
> how to find your C++ standard library headers. If Clang cannot find your
> system libstdc++ headers, please follow these instructions:
>    * 'gcc -v -x c++ /dev/null -fsyntax-only' to get the path.
>    * Look for the comment "FIXME: temporary hack: hard-coded paths" in
> clang/lib/Frontend/InitHeaderSearch.cpp and change the lines below to
> include that path.
> Is that right?  I thought that it was finding the headers; hence,
> I ignored this advice, but was I wrong?

If you can successfully compile "hello world" it should be able to find
your headers - unless there's something c++0x ish that's missing from
your headers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110204/cd602193/attachment.html>

More information about the cfe-dev mailing list