https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334
Максим Прохоренко <maxim.prohorenko at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim.prohorenko at gmail dot com --- Comment #5 from Максим Прохоренко <maxim.prohorenko at gmail dot com> --- Support disabling forwarding via #paragma please. There is a lot of noise in the log if you include huge generated files. An example can be taken in the github project F2I-Consulting / fesapi. GCC_DIAG_IGNORED ("-Wmisleading-indentation") CLANG_DIAG_IGNORED ("-Wmisleading-indentation") #ifdef NEW_FESAPI #include "fesapi/eml2/AbstractHdfProxy.h" #else #include "fesapi/common/AbstractHdfProxy.h" #endif #include "fesapi/nsDefinitions.h" CLANG_DIAG_RESTORE GCC_DIAG_RESTORE