summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-07-15 18:09:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-05-26 06:36:16 +0200
commit1fcb2203746c6b959f6e8b31703fe034e76df81c (patch)
treec52aaa8f7e9e9aee461858ec5683548ac7d7968b
parentdad818fc68e86bfd3fa901d7c26d802a1b16f3df (diff)
downloadgnutls-1fcb2203746c6b959f6e8b31703fe034e76df81c.tar.gz
configure: do not utilize the -Wno-format-truncation gcc warning
The warnings it produces have little value in our use of string functions. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 02ae1b2786..cb33184661 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,6 +419,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