[Bug c++/95288] Poor error message with function-scope enum definition

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 13 16:55:44 GMT 2020


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Somewhat improved by r11-2064, though we still generate junk that seem
redundant.  But at least it says
error: expected ‘}’ before ‘.’ token


More information about the Gcc-bugs mailing list