I'm currently refactoring a program that uses a preprocessor symbol in various places, and I'd like to generate errors for all uses. There is no common header file in which I could place a `#pragma gcc poison` directive, but I can modify the CPPFLAGS globally. It would be nice to have a way to add poisoned preprocessor symbols from the command line.
Just put it into a new header file and use -include /whatever/header_with_gcc_poison.h on the command line.
And with bash, you don't even need a separate file, you can use something like this: -include <(echo '#pragma GCC poison IDENTIFIER')