28/05/2018 15:24, Bruce Richardson: > Would a simpler solution for this not be to put "-Wno-implicit-fallthrough" > for pmdinfogen? GCC will not give a warning for an unrecognised "-Wno" > flag when compiling, unless there are other errors. This means we can just > use the flag without bothering with version checks.
No, it does not work. I have this error with clang 5.0.1: error: unknown warning option '-Wno-format-truncation'