summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-09-17 11:15:43 +0200
committerDaiki Ueno <ueno@gnu.org>2020-09-17 11:41:49 +0200
commit50b88241a15e1a40e09ca64dca1538c64ff22766 (patch)
tree8066fb19810d69629a9fc1af1662e0584e20a0ff /configure.ac
parentbc8e5090a5cfc86bd3f216fba2bcc1f24999a652 (diff)
downloadgnutls-50b88241a15e1a40e09ca64dca1538c64ff22766.tar.gz
configure.ac: don't enable warning only available in decent gcc
-Warith-conversion is new in GCC 10. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b5b0ceb5e2..e485699f30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -523,6 +523,7 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wunsafe-loop-optimizations" # Warnings with no point
nw="$nw -Wredundant-decls" # Some files cannot be compiled with that (gl_fd_to_handle)
nw="$nw -Wtype-limits" # Too many warnings in gnulib macros
+ nw="$nw -Warith-conversion" # Too compiler dependent
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT(ws, [$ws], [$nw])