[Bug c++/11866] poor diagnostic on undeclared exception
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 9 12:48:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11866
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-09 12:48 -------
The mainline produces:
pr11866.cc: In function `int main()':
pr11866.cc:10: error: expected type-name
pr11866.cc:10: error: expected type-name
pr11866.cc:10: error: invalid catch parameter
pr11866.cc:10: error: `...' handler must be the last handler for its try block
which might be okay (but what is a type-name?, I know what it is but it is overused in the
mainline's error messages.)
More information about the Gcc-bugs
mailing list