[Bug c++/62165] Misleading error messages when using "impossible" brace initializer list

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 27 19:22:55 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|2014-08-17 00:00:00         |2021-8-27

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't know how important this is as the code in question is only invalid
C++11 (and C++98 but for other reasons) and is valid c++14 code.

clang and ICC (EDG) both have a similar error message as GCC does.


More information about the Gcc-bugs mailing list