This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: define __EXCEPTIONS for C as well


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.


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