unhandled exception if empty exception specification

Jesse Rothstein jesse@motive.com
Wed Mar 31 23:54:00 GMT 1999


I was under the (mistaken) impression that it meant that any exception could
be thrown.  It seems I've been using the Microsoft compilers for too long.
VC6 happily throws exceptions from within a method with an empty exception
specification.  Incidentally, I am quite embarrassed.  Thanks...
--Jesse

-----Original Message-----
From: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
To: jesse@motive.com <jesse@motive.com>
Cc: egcs-bugs@egcs.cygnus.com <egcs-bugs@egcs.cygnus.com>
Date: Wednesday, March 10, 1999 4:43 PM
Subject: Re: unhandled exception if empty exception specification


>>   In any case, an empty exception specification seems to cause an
>> unhandled exception as the following code illustrates with a most
>> graceful segfault
>
>Alexandre already answered that, but out of curiosity...
>
>What did you think the empty exception specification should do?
>
>Martin




More information about the Gcc-bugs mailing list