This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7378] Very poor syntax error message
- 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: 16 Nov 2003 02:26:04 -0000
- Subject: [Bug c++/7378] Very poor syntax error message
- References: <20020722135600.7378.kstubbs@cs.umn.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-16 02:26 -------
The error message now on the mainline (20031114) is much better and is right:
pr7378.cc:23: error: new types may not be defined in a return type <--- saying that you most
likely forgot the semicolon.
pr7378.cc:23: error: return type specification for constructor invalid
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7378