This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95.1: warning about exceptions with -fno-exceptions
- To: carlo at runaway dot xs4all dot nl, egcs-bugs at egcs dot cygnus dot com
- Subject: Re: 2.95.1: warning about exceptions with -fno-exceptions
- From: Mike Stump <mrs at wrs dot com>
- Date: Wed, 6 Oct 1999 15:47:50 -0700 (PDT)
> From: Carlo Wood <carlo@runaway.xs4all.nl>
> To: egcs-bugs@egcs.cygnus.com
> Date: Wed, 6 Oct 1999 16:14:47 +0200 (CEST)
> is this warning justified when using -fno-exceptions?
We've talked about this before on the list. In short, yes, that is
why we put it in the compiler. :-)
You can do anything you want, as long as when (if) you return, you
return a valid pointer. :-) NULL isn't a valid pointer.