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: [g++] set __GXX_ABI_VERSION__ to 102


On Freitag, 2. August 2002 00:32, Neil Booth wrote:
> 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.

Well, I have to move it back then into gcc.c, or? OK?

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

Well, I don't know anything about -no-gcc either, but I guess it's there to 
preprocess stuff without any GCC specific defines? And isn't it as easy as to 
set a flag if -fno-gcc is given and test it in c-common.c?

Franz.


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