https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89142
Bug ID: 89142 Summary: Allow poisoning identifier from the command line Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: Simon.Richter at hogyros dot de Target Milestone: --- 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.