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 Donnerstag, 1. August 2002 22:57, Neil Booth wrote:
> Jakub Jelinek wrote:-
>
> > > 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
> > >
> > > 	* c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
> >
> > Is the macro __GXX_ABI_VERSION or __GXX_ABI_VERSION__?
> > Lots of g++.old-deja tests are using the former, 3.2 branch had the
> > former too and has now as well after Franz moved it to gcc.c, while below
> > I see __GXX_ABI_VERSION__.
>
> My mistake, sorry about that.  I'll remove the trailing __ now.

Thanks Benjamin and Neil for handling the bump to 102, I just arrived home 
ready to commit, but everything already done :-).

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

Franz.


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