On Sat, Aug 12, 2023 at 6:11 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote: > > These are redundant because -Wall implies > -Wformat-overflow and -Wformat-truncation > according to the GCC manual. To triple check this grouping behavior in clang, there's a utility called `diagtool`. $ diagtool tree will print the hierarchy of diagnostics and color code them to explain whether they're on/off by default or not-implemented-but-recognized. For the above two -Wformat-* warnings, note that clang does not yet implement those. I've filed https://github.com/llvm/llvm-project/issues/64871 to track that. -- Thanks, ~Nick Desaulniers