diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index 4a11305981..5f04644534 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -82,6 +82,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wformat-nonliteral \ -Wmissing-include-dirs \ -Wno-pragmas \ + -Wno-format-truncation \ ; do dnl GCC 4.4 does not warn when checking for -Wno-* flags (https://gcc.gnu.org/wiki/FAQ#wnowarning) _NM_COMPILER_FLAG([$(printf '%s' "$option" | sed 's/^-Wno-/-W/')], [],