aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-04-06 16:11:51 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-04-06 16:11:51 -0400
commit7f8a5d38ed00ad4ecc920322c4b852f3cf905a94 (patch)
tree6163a60543aade68935b760f1a4d883f50cabdf7 /gdb/m68hc11-tdep.c
parent2008a0dbe3de7206a14b53a5778af73cbabfb57e (diff)
downloadgdb-7f8a5d38ed00ad4ecc920322c4b852f3cf905a94.zip
gdb-7f8a5d38ed00ad4ecc920322c4b852f3cf905a94.tar.gz
gdb-7f8a5d38ed00ad4ecc920322c4b852f3cf905a94.tar.bz2
Add -Wno-error=deprecated-register to gdb build flags
As shown in PR 23022, building with clang-6 and Python 2 trips on the fact that the Python 2 headers use the "register" keyword: /usr/include/python2.7/unicodeobject.h:534:5: error: 'register' storage class specifier is deprecated and incompatible with C++17 [-Werror,-Wdeprecated-register] register PyObject *obj, /* Object */ ^~~~~~~~~ This patch adds -Wno-error=deprecated-register to our flags, so that we can still see this class of warnings, but they don't cause a build failure. gdb/ChangeLog: PR gdb/23022 * warning.m4: Add -Wno-error=deprecated-register. * configure: Re-generate.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
0 files changed, 0 insertions, 0 deletions