-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.
This commit is contained in:
parent
a121b7c1ac
commit
9bf2a70066
@ -1,3 +1,8 @@
|
||||
2017-04-05 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* warning.m4 (build_warnings): Remove -Wno-write-strings.
|
||||
* configure: Regenerate.
|
||||
|
||||
2017-04-05 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* ada-exp.y (yyerror): Constify.
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -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.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2017-04-05 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2017-04-05 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdbreplay.c (sync_error): Constify.
|
||||
|
2
gdb/gdbserver/configure
vendored
2
gdb/gdbserver/configure
vendored
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user