This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [g++] set __GXX_ABI_VERSION__ to 102
Franz Sirl wrote:-
> One thing though, the definition is now wrapped into
>
> if (c_language == clk_cplusplus)
>
> With this wrapping, it is different from eg. __GNUC__, or? My move to gcc.c
> accomplished that it is always defined unless -fno-gcc given, so I think this
> has to be changed, otherwise it won't be defined for gcc -x c or gcc -x
> assembler-with-cpp
Yup, that's a fair point. I just put it there because that's where
it used to be in cp/lang-specs.h (from where I copied it, before
you moved things 8-)). Feel free to move it elsewhere.
I don't understand the need for the no-gcc thang, what's the harm
in defining __GNUC__ regardless? Not understanding this is the only
reason they're still left in gcc.c and not in c-common.c.
Neil.