From: Paul Eggert Date: Mon, 3 Sep 2012 19:34:49 +0000 (-0700) Subject: * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init. X-Git-Tag: emacs-24.2.90~423 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79a7bafe62de094b745a47c2b90b17ada5fc5a21;p=emacs.git * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init. It generates false alarms in doc.c, regex.c, xdisp.c. See . --- diff --git a/ChangeLog b/ChangeLog index 8af393d4393..2fb825ccdda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-09-03 Paul Eggert + * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init. + It generates false alarms in doc.c, regex.c, xdisp.c. See + . + 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 diff --git a/configure.ac b/configure.ac index 0e2154aab6e..77e11910553 100644 --- a/configure.ac +++ b/configure.ac @@ -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