This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16189] obfuscated error message for missing semicolon after declaration in C++
- From: "jleatherwood at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 21:25:24 -0000
- Subject: [Bug c++/16189] obfuscated error message for missing semicolon after declaration in C++
- References: <20040625022408.16189.bernie@develer.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jleatherwood at acm dot org 2004-07-27 21:25 -------
(In reply to comment #0)
> The misleading error message is also reported on
> the *last* line of the *following* struct/class
> declaration, which makes it hard for the user to
> hunt for the source line containing the error.
This behavior also observed in version 3.3.4 of gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16189