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] |
On Freitag, 2. August 2002 00:53, Neil Booth wrote: > Franz Sirl wrote:- > > > Well, I have to move it back then into gcc.c, or? OK? > > No, just move it outside the if(). Done. OK to commit? > > 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? > > Sure. I just don't understand the point - the macros are not in the > user's namespace, and no other implementations are going to be defining > them, so they can't clash with anything. > > -undef disables all such builtins (if we moved them to c-common.c). I think the point to disable all GCC signatures from the defines, while keeping the ones common across different compilers. I guess it's useful for people to test if the !GCC case still compiles? Franz. * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
Attachment:
gcc-gxx-abi-version-2.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |