]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 Sep 2012 19:34:49 +0000 (12:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 Sep 2012 19:34:49 +0000 (12:34 -0700)
It generates false alarms in doc.c, regex.c, xdisp.c.  See
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00040.html>.

ChangeLog
configure.ac

index 8af393d4393a64b709d75e8fb42b9db5ebc7fa5b..2fb825ccddac001d4e67cec66bbb268e00e61772 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-09-03  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init.
+       It generates false alarms in doc.c, regex.c, xdisp.c.  See
+       <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00040.html>.
+
        Merge from gnulib, incorporating:
        2012-08-29 stdbool: be more compatible with mixed C/C++ compiles
        2011-11-30 manywarnings: update the list of "all" warnings
index 0e2154aab6e365ef6b7c6c8526ca30ceb65ec97e..77e11910553843f05003df94669e965eac179370 100644 (file)
@@ -705,6 +705,7 @@ else
   nw="$nw -Wswitch-default"         # Too many warnings for now
   nw="$nw -Wfloat-equal"            # warns about high-quality code
   nw="$nw -Winline"                 # OK to ignore 'inline'
+  nw="$nw -Wjump-misses-init"       # We sometimes safely jump over init.
   nw="$nw -Wsync-nand"              # irrelevant here, and provokes ObjC warning
   nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations