This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35125] Violating standards
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2008 15:22:58 -0000
- Subject: [Bug c++/35125] Violating standards
- References: <bug-35125-15742@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-07 15:22 -------
VLA in C++ is an extension, if you use -pedantic, you will get an error.
Also VLA uses the value at the time at definition and no other value after
wards.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35125