Bug with exceptions and g++ 2.95
Mike Stump
mrs@wrs.com
Tue Aug 31 22:45:00 GMT 1999
> 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.
More information about the Gcc-bugs
mailing list