]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure.ac: don't enable warning only available in decent gcc
authorDaiki Ueno <ueno@gnu.org>
Thu, 17 Sep 2020 09:15:43 +0000 (11:15 +0200)
committerDaiki Ueno <ueno@gnu.org>
Thu, 17 Sep 2020 09:41:49 +0000 (11:41 +0200)
-Warith-conversion is new in GCC 10.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
configure.ac

index b5b0ceb5e21742d1ebf5f00caac095cce37666fa..e485699f30e00e9186dd19e227a72df0d22f760b 100644 (file)
@@ -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])