This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24591] poor diagnostic with a missing { in a class definition
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2005 15:36:05 -0000
- Subject: [Bug c++/24591] poor diagnostic with a missing { in a class definition
- References: <bug-24591-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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