3 ms·
As of VS2017, MSVC still missed a bunch of C99 features (or they're buggy as hell): > Variable Length Arrays are not supported (although these are now official
by masklinn 7y ago
As of VS2017, MSVC still missed a bunch of C99 features (or they're buggy as hell):
> Variable Length Arrays are not supported (although these are now officially optional)
> restrict qualifier is not supported, __restrict is supported instead, but it is not exactly the same
> Top-level qualifiers in array declarations in function parameters are not supported (e.g. void foo(int a[const])) as well as keyword static in the same context
They only started seriously working on actual C99 support (aside from the bits of C99 which were part of C++) for VS2013 or so.
Though to be fair it seems both Clang and GCC are still missing bits and bobs:
> The support for standard C in clang is feature-complete except for the C99 floating-point pragmas.
for GCC I found https://gcc.gnu.org/c99status.html https://gcc.gnu.org/c99status.html, it's unclear how up-to-date it is, and if GCC is still missing any required feature.