]> git.eshelyaron.com Git - emacs.git/commitdiff
Port --enable-gcc-warnings to clang 3.9.1
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 23:05:31 +0000 (16:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 23:05:54 +0000 (16:05 -0700)
* configure.ac (WERROR_CFLAGS): Omit -Wmissing-braces for Clang,
to shut off a false alarm.  Problem reportd by Philipp Stephani in:
http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00521.html

configure.ac

index 03542a6b1c30951c5f38fc0cd5a1ac7d7200713d..12e44d949c58b6c2b01ffdb4b922337ad0cc8271 100644 (file)
@@ -964,6 +964,7 @@ AS_IF([test $gl_gcc_warnings = no],
   if test $emacs_cv_clang = yes; then
     nw="$nw -Wcast-align"
     nw="$nw -Wdouble-promotion"
+    nw="$nw -Wmissing-braces"
   fi
 
   # This causes too much noise in the MinGW build