summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-07-15 18:09:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-07-17 18:38:11 +0200
commit4ea30df3697d7ddf09c8594bf7db14d3af64db0f (patch)
tree7e190b47fbed97e8be8962d0b4ea94bedeaf0e50
parent81b89334c3058ad4406299f2cccf0d95f844417a (diff)
downloadgnutls-4ea30df3697d7ddf09c8594bf7db14d3af64db0f.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 b41499c678..505b911de2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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