From 50b88241a15e1a40e09ca64dca1538c64ff22766 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 17 Sep 2020 11:15:43 +0200 Subject: configure.ac: don't enable warning only available in decent gcc -Warith-conversion is new in GCC 10. Signed-off-by: Daiki Ueno --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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]) -- cgit v1.2.1