[Bug c++/86226] A bug seems to be not fully fixed
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 20 17:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86226
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> ---
(In reply to zhonghao from comment #0)
> It seems that the bug is not fixed, right?
Wrong. The old bug was fixed by making it a "pedwarn" i.e. diagnosing the
extension when -pedantic is used. That was fixed.
In C++2a the code is now valid, not a GNU extension, so you get no warning with
-std=c++2a, as expected.
This is not a bug.
More information about the Gcc-bugs
mailing list