|
|
|
|
|
by bluetomcat
3130 days ago
|
|
TL;DR Let the compiler preprocess a source file by first removing #include lines which contain definitions of macros we don't want to see expanded (expanding only the definitions from the local file or from chosen headers, achieving less cluttered and more readable output). Say we have a file like: #include "foo_defs.h"
#define BAR 42
FOO;
BAR;
We filter out the include line and then preprocess the file, getting the following output: FOO;
42;
|
|