From 83706c49baeeffe094c1b79408b2106e2ebf0083 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 18 May 2020 21:49:58 +0200 Subject: [PATCH] [configure.ac] Do not show warnings related to gettext for gcc-10 It is not a good idea, but warnings also look ugly. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index c245d294..de3a4a79 100644 --- a/configure.ac +++ b/configure.ac @@ -1774,6 +1774,10 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then # difference. CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign" ;; + 10|10.*) + # gettext + CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign -Wno-builtin-declaration-mismatch" + ;; *) # These should be ok using -Werror ;;