Add new GCC 9 warnings to warnings.m4
authorTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 15:25:19 +0000 (09:25 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 29 May 2019 14:56:23 +0000 (08:56 -0600)
commit33a6bc350f5b4f03d586ba9d32667b6fea1dce4a
treefb6b3a39d0e5e851f73ac4907809389504eabca0
parent000439d52897541ad00a84026ac471b4f8cb3c97
Add new GCC 9 warnings to warnings.m4

GCC 9 has a few new warnings that aren't enabled in the gdb build by
default: -Wdeprecated-copy, -Wdeprecated-copy-dtor, and
-Wredundant-move.  This patch enables them all.

Tested by rebuilding with a new GCC (git master) on x86-64 Fedora 29.

gdb/ChangeLog
2019-05-29  Tom Tromey  <tromey@adacore.com>

* inflow.c (struct terminal_info): Add default operator=.
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wdeprecated-copy,
-Wdeprecated-copy-dtor, -Wredundant-move.

gdb/gdbserver/ChangeLog
2019-05-29  Tom Tromey  <tromey@adacore.com>

* configure: Rebuild.
gdb/ChangeLog
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/inflow.c
gdb/warning.m4
This page took 0.025158 seconds and 4 git commands to generate.