From d3d8724aac2f207467b1004b1424fed0446b6f8a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 7 Aug 2018 13:14:09 -0600 Subject: [PATCH] Remove -Wno-narrowing from warnings.m4 This removes -Wno-narrowing from warnings.m4. This is PR build/23087. gdb/ChangeLog 2018-08-27 Tom Tromey PR build/23087: * configure: Rebuild. * warning.m4 (AM_GDB_WARNINGS): Remove -Wno-narrowing. gdb/gdbserver/ChangeLog 2018-08-27 Tom Tromey PR build/23087: * configure: Rebuild. --- gdb/ChangeLog | 6 ++++++ gdb/configure | 2 +- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/configure | 2 +- gdb/warning.m4 | 2 +- 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d087d430d53..4ef1765286a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-08-27 Tom Tromey + + PR build/23087: + * configure: Rebuild. + * warning.m4 (AM_GDB_WARNINGS): Remove -Wno-narrowing. + 2018-08-27 Tom Tromey * aarch64-linux-tdep.c diff --git a/gdb/configure b/gdb/configure index 9cd0036848c..d207c2baf1b 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15412,7 +15412,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-variable -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ +-Wno-sign-compare -Wno-error=maybe-uninitialized \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ae2b06d2c12..cdc8afd1fa4 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2018-08-27 Tom Tromey + + PR build/23087: + * configure: Rebuild. + 2018-08-27 Tom Tromey * linux-s390-low.c (s390_emit_ext, s390_emit_litpool) diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 043bc216e43..7454cd8ad37 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7240,7 +7240,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-variable -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ +-Wno-sign-compare -Wno-error=maybe-uninitialized \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ diff --git a/gdb/warning.m4 b/gdb/warning.m4 index 00e7cd60508..dd338493f9e 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -40,7 +40,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-variable -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ +-Wno-sign-compare -Wno-error=maybe-uninitialized \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ -- 2.30.2