[cfe-dev] ExceptionDemo build failed
Garrison Venn
gvenn.cfe.dev at gmail.com
Mon Apr 11 09:49:46 PDT 2011
Glad I could be of help, however the fix I gave you is not the real answer, as
I believe a needed llvm header file has not been included. Regardless I'll post
when the repository update is available with the proper fix.
Also keep in mine that the example directory should not be built by default,
but rather explicitly requested. For example, in a make build, one has to set
the BUILD_EXAMPLES environmental variable to 1, in order for the examples
to be built. I'll have to check on cmake to see what the equivalent switch is.
Anyway you probably knew this. I just wanted to make sure you don't get stuck
with not being able to use clang/llvm just because the examples won't build.
Having said that, the examples should always build.
Thanks for reporting the issue, and your patience.
Garrison
On Apr 11, 2011, at 11:53, Dawie Joubert wrote:
> Garrison,
>
> I did as you instructed and the Exception Example (and the whole of
> Clang and LLVM for that matter) was able to build successfully in Linux
> 64-bit using Cmake and GCC (Ubuntu 4.4.3-4ubuntu5). I previously saw a
> similar behavior that GCC "changed/removed" its default includes ...
> possibly to allow for different "std libs" to be used in the future?
>
> Anyway, thanks a mil for a kind response towards an "easy" problem, it
> makes one want to assist your project even more!
>
> Best regards,
>
> Dawie Joubert
> Senior Researcher: Information Security, Modelling and Digital Science,
> CSIR
>
> Tel: +27 12 841 3379
> Fax: +27 12 841 2456
> Mobile: +27 84 589 2078
> E-Mail: djjoubert at csir.co.za
>
>
>
> -----Original Message-----
> From: Garrison Venn <gvenn.cfe.dev at gmail.com>
> To: djjoubert at csir.co.za
> Cc: Chris Lattner <clattner at apple.com>, cfe-dev <cfe-dev at cs.uiuc.edu>
> Subject: Re: [cfe-dev] ExceptionDemo build failed
> Date: Mon, 11 Apr 2011 10:45:25 -0400
>
> #include <cstdio>
More information about the cfe-dev
mailing list