https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83773
Bug ID: 83773 Summary: Warning for redefined macro does not have its own -Wsomething switch Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: bugzi...@poradnik-webmastera.com Target Milestone: --- Warning for redefined macro does not have its own -Wsomething switch, please add one. I also tried to use -fdiagnostics-show-option but it did not help. [code] #define AAA 1 #define AAA 2 [/code] [out] test.c:2: warning: "AAA" redefined #define AAA 2 test.c:1: note: this is the location of the previous definition #define AAA 1 [/out]