c preprocessor expansion
"Task Struct From Hell" <[email protected]>
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I was wondering if gcc has any argument which allows for the expansion
of all macros in a file, just so if we have something like the
following:
#define FOO "bar"
int main() {
printf(FOO);
}
It will output this:
int main() {
printf("bar");
}
Thanks,
TSFH