-Wwrite-strings: Remove -Wno-write-strings
authorPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:37 +0000 (19:21 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:37 +0000 (19:21 +0100)
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.

gdb/ChangeLog
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/warning.m4

index cbf3c0cb6517f31976b35f8809ddae4949ed2f4e..d21436c8d6509610334f9dcb1ec37efe73687019 100644 (file)
@@ -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.
index 7fbae9f34b44e3dc016d9fab22ad056cef61d488..9f05b4bb7eb51d751cab3e2323593bba2459948b 100755 (executable)
@@ -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.
index a09006a5d42e01270a53204710ccfe30fccba094..9b0c8870fffc271c75765b3e8697b7248af5378d 100644 (file)
@@ -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.
index 6ae486539f4e0f2c026aa14bdc4a41b46610d681..64f96f5444302a7f2a8cc94807b1a79a74c3056a 100755 (executable)
@@ -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.
index f04709edde5d0e3a76e22665040569962e5b982f..83f69ec229305c2efa52cabf7977a18fdb851239 100644 (file)
@@ -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.