diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-05 19:21:37 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-05 19:21:37 +0100 |
commit | 9bf2a700667c53003ece783c05e8b355801105f2 (patch) | |
tree | c9b9cbf665ecd077dfb1eb76406e2f3e77d9b24f /gdb/warning.m4 | |
parent | a121b7c1ac76833018f4fc3adaeddc3147272dd0 (diff) | |
download | gdb-9bf2a700667c53003ece783c05e8b355801105f2.zip gdb-9bf2a700667c53003ece783c05e8b355801105f2.tar.gz gdb-9bf2a700667c53003ece783c05e8b355801105f2.tar.bz2 |
-Wwrite-strings: Remove -Wno-write-strings
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:
2017-04-05 Pedro Alves <palves@redhat.com>
* warning.m4 (build_warnings): Remove -Wno-write-strings.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
2017-04-05 Pedro Alves <palves@redhat.com>
* configure: Regenerate.
Diffstat (limited to 'gdb/warning.m4')
-rw-r--r-- | gdb/warning.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/warning.m4 b/gdb/warning.m4 index f04709e..83f69ec 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. |