[Bug c++/104792] [g++ and/or libstdc++] Wunused-local-typedefs + C++20 concepts = annoying

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 6 01:29:45 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-reduction
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-03-06

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Interesting clang also warns but I think the warning is not needed even if it
is a local defined alias, it is defined inside the struct itself rather than in
the function scope.


More information about the Gcc-bugs mailing list