C preprocessor: bug or intentional deficiency?
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Sat Apr 6 23:18:44 AEST 1985
> How do I get a C macro to define another macro? Or rather,
> the expansion of a macro causes another macro to be defined.
> ...
> That this does not work, is it a bug in the preprocessor,
> or is it just not supposed to work? If so, why not?
The C preprocessor is NOT a general macro processor,
nor is it intended to be. If you have m4, use that;
otherwise punt.
More information about the Comp.lang.c
mailing list