------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-31 15:36 ------- (In reply to comment #0) > Actually, I think the only thing that is syntactically valid before "public:" > here is a "{".
No, it could be ": classname". But anyways confirmed, we should be able to do better. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2005-10-31 15:36:04 date| | Summary|poor diagnostic |poor diagnostic with a | |missing { in a class | |definition http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24591