diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-05 14:26:26 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-05 14:26:26 +0100 |
commit | 98964830d52c5fa6314e2016c2f4baee6e013a36 (patch) | |
tree | 67be2622afe15b584822757df6952dd0ff8c3e6f | |
parent | 27285cc1b80fb7a35c7d3c727692afb163d04138 (diff) | |
download | binutils-gdb-users/palves/Wwrite-strings-v1.5.tar.gz |
-Wwrite-strings: Remove -Wno-write-stringsusers/palves/Wwrite-strings-v1.5
AFAIK GDB is now free from -Wwrite-strings warnings. A few warnings may
be left behind in some host-specific code, but those should be few and
easy to fix.
gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>
* warning.m4 (build_warnings): Remove -Wno-write-strings.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>
* configure: Regenerate.
-rwxr-xr-x | gdb/configure | 2 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 2 | ||||
-rw-r--r-- | gdb/warning.m4 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure b/gdb/configure index 7fbae9f34b4..9f05b4bb7eb 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15108,7 +15108,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-write-strings -Wno-narrowing" +-Wno-sign-compare -Wno-narrowing" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 6ae486539f4..64f96f54443 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7148,7 +7148,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-write-strings -Wno-narrowing" +-Wno-sign-compare -Wno-narrowing" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. diff --git a/gdb/warning.m4 b/gdb/warning.m4 index f04709edde5..83f69ec2293 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -40,7 +40,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-write-strings -Wno-narrowing" +-Wno-sign-compare -Wno-narrowing" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. |