[Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 28 15:06:00 GMT 2005

------- Additional Comments From bangerth at dealii dot org  2005-03-28 15:06 -------
Yes, there are multiple PRs in the database about diagnostics when people 
forget the semicolon at the end of a struct or class declaration. There are 
also examples in these PRs that show why this case is so hard for the  
parser to handle gracefully. 

           What    |Removed                     |Added
           Keywords|                            |diagnostic
            Summary|poor diagnostic             |poor diagnostic for missing
                   |                            |semicolon at end of template
                   |                            |struct declaration


More information about the Gcc-bugs mailing list