This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34778] terminate called after throwing an instance of
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2010 22:55:03 -0000
- Subject: [Bug c++/34778] terminate called after throwing an instance of
- References: <bug-34778-15626@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from redi at gcc dot gnu dot org 2010-04-29 22:55 -------
you're throwing a string literal and trying to catch a char*, that's invalid
if you change it to catch(const char*) it works fine with 4.4.3
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34778