aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-08-07 13:14:09 -0600
committerTom Tromey <tom@tromey.com>2018-08-27 12:00:12 -0600
commitd3d8724aac2f207467b1004b1424fed0446b6f8a (patch)
tree7b8e23af930f543f2c68ff8ad439c1c0529b6bd9
parent1885053bcb12dd05a6f129146cf514e966082c27 (diff)
downloadgdb-d3d8724aac2f207467b1004b1424fed0446b6f8a.zip
gdb-d3d8724aac2f207467b1004b1424fed0446b6f8a.tar.gz
gdb-d3d8724aac2f207467b1004b1424fed0446b6f8a.tar.bz2
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.
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/gdbserver/ChangeLog5
-rwxr-xr-xgdb/gdbserver/configure2
-rw-r--r--gdb/warning.m42
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 \