This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: throw ()
- To: Mike Harrold <mharrold at cas dot org>
- Subject: Re: throw ()
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 30 Aug 2000 19:02:29 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200008302153.RAA04105@mah21awu.cas.org>
On Aug 30, 2000, Mike Harrold <mharrold@cas.org> wrote:
> This would be the appropriate behaviour (it is unexpected, after all).
> But is this what "throw ()" actually defines? or what it implies?
That's the correct behavior of a function declared with throw().
> Assuming "throw ()" defines no expcetions, I'd also like to see a
> warning for the following scenario:
Yep. Contributions are welcome :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me