[cfe-dev] Clang API and __builtin_va_list definition

Eli Friedman eli.friedman at gmail.com
Fri Sep 21 14:43:32 PDT 2012


On Fri, Sep 21, 2012 at 2:37 PM, Kamaljit Lall <klall at factset.com> wrote:
> I am using the Clang c++ API. I have a blocking issue because the builtin
> __builtin_va_list clang isn't defined.
>
> ..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;
>
> How can I get this builtin to be visible? Do I have to supply it myself?

No.

> I missing something in my Clang C++ API usage it seems to me.

This.  It's not obvious exactly what you messed up, though.

-Eli



More information about the cfe-dev mailing list