This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug with exceptions and g++ 2.95
- To: gcc-bugs at gcc dot gnu dot org, jnance at nortelnetworks dot com
- Subject: Re: Bug with exceptions and g++ 2.95
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 4 Aug 1999 14:46:13 -0700
> Date: Wed, 4 Aug 1999 14:12:09 -0400
> From: "Jim Nance" <jnance@nortelnetworks.com>
> I think I have found a bug
Yes, someone else reported it also. The bug is that the compiler
doesn't tell you to use -fcheck-new and that it will issue that
warning, even when -fcheck-new is given.
> Since the compiler has exceptions turned off, it seems wrong to
> require the code throw an exception.
There is no requirement to throw an exception. The requirement is to
not return 0.