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.

Reply via email to