This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: define __EXCEPTIONS for C as well
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org,Ulrich Drepper <drepper at redhat dot com>
- Date: Sat, 7 Jun 2003 23:46:11 +0100
- Subject: Re: define __EXCEPTIONS for C as well
- References: <20030607152610.A4435@redhat.com>
Richard Henderson wrote:-
> - if (flag_exceptions)
> - cpp_define (pfile, "__EXCEPTIONS");
> if (warn_deprecated)
> cpp_define (pfile, "__DEPRECATED");
> }
> + if (flag_exceptions)
> + cpp_define (pfile, "__EXCEPTIONS");
Could you add an explicit comment that it's intended to
be defined for C? Otherwise I can see it being changed
accidentally somewhere down the line...
Neil.