From: Paul Eggert Date: Mon, 15 May 2023 01:51:23 +0000 (-0700) Subject: Do not use -Wanalyzer-fd-leak X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9eef5a678c3bb6a6248193524e67f7003f25f5af;p=emacs.git Do not use -Wanalyzer-fd-leak * configure.ac: Append -Wno-analyzer-fd-leak to WARN_CFLAGS when configuring with --enable-gcc-warnings, to work around GCC bug 109847. --- diff --git a/configure.ac b/configure.ac index 8b08100464e..95167329c28 100644 --- a/configure.ac +++ b/configure.ac @@ -1136,6 +1136,8 @@ AS_IF([test $gl_gcc_warnings = no], gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now gl_WARN_ADD([-Wno-format-nonliteral]) gl_WARN_ADD([-Wno-bidi-chars]) + AS_IF([test $gl_gcc_warnings = yes], + [gl_WARN_ADD([-Wno-analyzer-fd-leak])]) # GCC bug 109839 # clang is unduly picky about some things. if test "$emacs_cv_clang" = yes; then