warning for preprocessor directive in macro Was: Segfault at evaluate.c:341
Christopher Li
maintainerPATCH 1/1 warning for preprocessor directive in macro Was: Segfault at evaluate.c:341
Quoted 7 lines · Christopher Li
Thanks Al,
I will apply it later tonight.
If no one beats to me, I will try to add the warning for using preprocessor directive inside macro expansion. It should be a better error message than the current one.
OK, attached patch generate warning like this:
macro-argument-ifdef.c:10:1: warning: invalid usage of "#ifdef" in macro argument
The wording of the error message can be improved. Any suggestion?
Chris