[Bug c++/90804] function declaration cannot have variably modified type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 10 05:24:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90804

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
GCC supports variable length arrays in C++, this is not a bug.

Use -pedantic-errors to get a diagnostic.


More information about the Gcc-bugs mailing list