Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Standard-header aware scanning

Dear all,

I am developing a CDT plugin. I noticed that the scanner created by GCCLanguage is not aware of macros that are defined in standard headers.

For instance, processing

  #include <stdarg.h>

  void test(int *p, ...)
    va_list l;
    va_start(l, p);
    va_arg(l, int*);    

results in an IASTProblemStatement for va_arg(l, int*).

What is the recommended approach for working around this issue?



Back to the top