From 79a7bafe62de094b745a47c2b90b17ada5fc5a21 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 3 Sep 2012 12:34:49 -0700 Subject: [PATCH] * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init. It generates false alarms in doc.c, regex.c, xdisp.c. See . --- ChangeLog | 4 ++++ configure.ac | 1 + 2 files changed, 5 insertions(+) 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 -- 2.39.2