[binutils-gdb] Remove -Wno-narrowing from warnings.m4

Tom Tromey tromey@sourceware.org
Mon Aug 27 18:09:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d3d8724aac2f207467b1004b1424fed0446b6f8a

commit d3d8724aac2f207467b1004b1424fed0446b6f8a
Author: Tom Tromey <tom@tromey.com>
Date:   Tue Aug 7 13:14:09 2018 -0600

    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  <tom@tromey.com>
    
    	PR build/23087:
    	* configure: Rebuild.
    	* warning.m4 (AM_GDB_WARNINGS): Remove -Wno-narrowing.
    
    gdb/gdbserver/ChangeLog
    2018-08-27  Tom Tromey  <tom@tromey.com>
    
    	PR build/23087:
    	* configure: Rebuild.

Diff:
---
 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 d087d43..4ef1765 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
 2018-08-27  Tom Tromey  <tom@tromey.com>
 
+	PR build/23087:
+	* configure: Rebuild.
+	* warning.m4 (AM_GDB_WARNINGS): Remove -Wno-narrowing.
+
+2018-08-27  Tom Tromey  <tom@tromey.com>
+
 	* aarch64-linux-tdep.c
 	(aarch64_linux_iterate_over_regset_sections) <sve_regmap>: Add
 	casts to int.
diff --git a/gdb/configure b/gdb/configure
index 9cd0036..d207c2b 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 ae2b06d..cdc8afd 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
 2018-08-27  Tom Tromey  <tom@tromey.com>
 
+	PR build/23087:
+	* configure: Rebuild.
+
+2018-08-27  Tom Tromey  <tom@tromey.com>
+
 	* linux-s390-low.c (s390_emit_ext, s390_emit_litpool)
 	(s390_emit_const, s390_emit_reg, s390_emit_zero_ext)
 	(s390_emit_stack_adjust, s390_emit_set_r2, s390x_emit_ext)
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 043bc21..7454cd8 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 00e7cd6..dd33849 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 \



More information about the Gdb-cvs mailing list