I suggest you ...

Support C99 Variable Length Arrays

VLAs are turning out to be common these days, making it impossible to build C code developed with other compilers.

149 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Andrew Pardoe [MSFT] commented  ·   ·  Flag as inappropriate

        The MSVC team plans to achieve C conformance but we are first very focused on completing our C++ conformance work.

        We have done some C99 conformance work, most notably C99 _Bool, compound literals, C99 designated initializers, and variable declaration a couple of years back. More recently as we've implemented C++ features that resemble C features we have also implemented their C counterparts.

        Lastly, we have started to implement a conforming preprocessor for both C++ and C conformance.

        I can't comment on VLAs specifically, nor on a timeline for C conformance, but we have heard this request. Thank you!

      • Anonymous commented  ·   ·  Flag as inappropriate

        I guess MS thinks people are too stupid to use VLA's. Would lead to a rise in applications with stack overflow errors. Gotta love the hand holding going on these days.

      Feedback and Knowledge Base