[cfe-dev] Living on Clang
Douglas Gregor
dgregor at apple.com
Thu Apr 29 22:38:03 PDT 2010
On Apr 29, 2010, at 12:10 PM, John Freeman wrote:
> On 4/14/2010 3:51 PM, Douglas Gregor wrote:
>> Helping is easy: just build Clang on your platform and start using it as your main compiler for LLVM and Clang development.
>
> I took your suggestion, and it's worked out pretty well so far.
>
> I did not quite understand how to add my own system header paths to the
> hard-coded paths in clang/lib/Frontend/InitHeaderSearch.cpp (my attempt
> failed to solve the problem), so I ended up having to create a link from
> /usr/include/stdarg.h to
> /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h so that
> <iostream> would compile.
>
> In my latest small project (51 headers, 14 sources so far), Clang was
> able to compile every source, some of which included templates, except
> for the ones that instantiated
> boost::uuids::string_generator::operator() (Boost.Uuid is a new library
> in version 1.42).
Hrm. The Boost.UUID tests are passing using Boost from trunk (and yesterday's Clang from trunk). Did you file a bug about the failure you're seeing?
- Doug
More information about the cfe-dev
mailing list