https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
--- Comment #7 from Harald van Dijk ---
(In reply to Jason Merrill from comment #6)
> > but
> > anyway, even with -std=c++14 -pedantic-errors, no message at all is given
> > for the program in my earlier comment.
>
> I don't see the syntax error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
--- Comment #5 from Harald van Dijk ---
(In reply to Jakub Jelinek from comment #4)
> Just use -pedantic-errors if you want strict language conformance?
-std=* -pedantic is supposed to be enough to get GCC to conform to the
specified standard (t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
Harald van Dijk changed:
What|Removed |Added
CC||harald at gigawatt dot nl
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
--- Comment #2 from David Binderman ---
(In reply to Andrew Pinski from comment #1)
> VLA is a gcc extension.
I added switch -std=c++98 and it made no change.
I added -pedantic and I got the vla warning.
jan19g.cc:6:14: warning: ISO C++ forbid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64666
--- Comment #1 from Andrew Pinski ---
VLA is a gcc extension.