Standardization questions (cpp mostly)
Joe Mueller
joemu at tekecs.UUCP
Sun Oct 14 14:15:16 AEST 1984
> I hope that the standard will allow you to turn off all predefined
> preprocessor variables, and give an exception list (that your program needs to
> have). Things like '__LINE__' and '__FILE__' are too good to loose (in
> certain applications) just because the local C compiler defines 'stack' (in a
> mistaken attempt to tell you that you are executing on a stack machine, or
> something...) I don't want to be forced to throw out the baby with the bath
> water.
> Rick Thomas
Point well taken! I forgot to mention there will be a list of
macros that will not be disabled by the "magic flag". __LINE__ and
__FILE__ are among these. I can't remember if there are any more.
More information about the Comp.lang.c
mailing list