[cfe-dev] C99 index function

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri May 24 09:09:56 PDT 2013


this reduces to just

--------------------
int index;
------------------

Looks like there two differences in behavior

* gcc doesn't define it with -std=c99, we do
* gcc only produces an warning when a builtin is declare as a
non-function, we produce an error.

It might be reasonable to change clang's behavior to mach gcc in the
-std=c99 case.  Can you open a bug report to track this?

Cheers,
Rafael



More information about the cfe-dev mailing list