[cfe-dev] 转发: 回复: Fail to compile clang-wpa.cpp

arrowdodger 6yearold at gmail.com
Sat Apr 23 21:33:25 PDT 2011


2011/4/24 kobe James <god.son2046 at yahoo.com.cn>

>
>
> ----- 转发邮件 ----
> *发件人:* kobe James <god.son2046 at yahoo.com.cn>
> *收件人:* arrowdodger <6yearold at gmail.com>
> *发送日期:* 2011/4/23 (周六) 9:45:28 下午
> *主 题:* 回复: [cfe-dev] Fail to compile clang-wpa.cpp
>
>
> Thanks.
> I have changed the command to
>
> clang++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS clang-wpa.cpp -o
> clang-wpa
>
> And I got the following errors:
>

As i said, use llvm-config script. It will give you all necessary flags
needed to compile your program.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110424/0fcf969a/attachment.html>


More information about the cfe-dev mailing list