This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug with exceptions and g++ 2.95


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]