A non-feature in the GNU C Preprocessor
Ronald F. Guilmette
rfg@monkeys.com
Wed Jan 5 14:33:00 GMT 2000
It would be really nice/helpful if normal preprocessing token replacement
were applied, by the C preproceessor, to #pragma directives.
For example, given the input file:
-------------------------------------------------
#define foobar stdio
#pragma depends_on foobar.h
-------------------------------------------------
If this file is processed with "gcc -E', it would be nice if the
output generated said:
-------------------------------------------------
# 1 "testprag.c"
#pragma depends_on stdio.h
-------------------------------------------------
Rather than:
-------------------------------------------------
# 1 "testprag.c"
#pragma depends_on foobar.h
-------------------------------------------------
More information about the Gcc-bugs
mailing list