]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure: do not utilize the -Wno-format-truncation gcc warning
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 15 Jul 2017 16:09:18 +0000 (18:09 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 17 Jul 2017 16:38:11 +0000 (18:38 +0200)
The warnings it produces have little value in our use of string functions.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
configure.ac

index b41499c678c19bdfa4b51e73acfc708f089037cf..505b911de21f65b9146167db8fe6a9c2ab3abae8 100644 (file)
@@ -415,6 +415,7 @@ if test "$gl_gcc_warnings" = yes; then
   done
   gl_WARN_ADD([-Wno-missing-field-initializers]) # We need this one
   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
+  gl_WARN_ADD([-Wno-format-truncation]) # Many warnings with no point
   gl_WARN_ADD([-fdiagnostics-show-option])
 fi