[LLVMdev] clang and __builtin_va_list
Kamaljit Lall
klall at factset.com
Fri Sep 21 12:24:37 PDT 2012
I am using the Clang c++ API. I have a blocking issue because the builtin __builtin_va_list clang isn't defined.
Here is the error:
..lib/clang/3.2/include/stdarg.h:30:9: error: unknown type name '__builtin_va_list'; did you mean '__builtin_va_list'? typedef __builtin_va_list va_list;
>From what I've read, this builtin is target dependent.
This builtin is not defined in Builtins.def or BuiltinsX86.def or anywhere else I can find in the clang source code.
I am on a Redhat Linux box.
How can I get this builtin to be visible? Do I have to supply it myself?
Note that I am using the Clang C++ API, not just clang++ test.cpp, which works fine somehow.
So am I missing something in my Clang C++ API usage it seems to me.
All the other builtins seem to be installed and working.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120921/256f489b/attachment.html>
More information about the llvm-dev
mailing list