* configure.ac (build_warnings): Add -Wno-char-subscripts.
authorPedro Alves <palves@redhat.com>
Fri, 27 Aug 2010 10:20:07 +0000 (10:20 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Aug 2010 10:20:07 +0000 (10:20 +0000)
* configure: Regenerate.

gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/gdbserver/configure.ac

index fbc3e4e..98fc178 100644 (file)
@@ -1,5 +1,10 @@
 2010-08-27  Pedro Alves  <pedro@codesourcery.com>
 
+       * configure.ac (build_warnings): Add -Wno-char-subscripts.
+       * configure: Regenerate.
+
+2010-08-27  Pedro Alves  <pedro@codesourcery.com>
+
        * linux-low.c (linux_unprepare_to_access_memory): Rename to ...
        (linux_done_accessing_memory): ... this.
        (linux_target_ops): Adjust.
index 1667d14..146e61b 100755 (executable)
@@ -3944,7 +3944,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then
 fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral "
+-Wformat-nonliteral -Wno-char-subscripts"
 
 WARN_CFLAGS=""
 if test "x$GCC" = xyes
index 24ef9a8..33f29cf 100644 (file)
@@ -112,7 +112,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then
 fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral "
+-Wformat-nonliteral -Wno-char-subscripts"
 
 WARN_CFLAGS=""
 if test "x$GCC" = xyes