* configure.ac (build_warnings): Add -Wno-char-subscripts.
authorSteve Ellcey <sje@cup.hp.com>
Wed, 11 Apr 2007 18:36:50 +0000 (18:36 +0000)
committerSteve Ellcey <sje@cup.hp.com>
Wed, 11 Apr 2007 18:36:50 +0000 (18:36 +0000)
* configure: Regenerate.
* doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.

gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/doc/gdbint.texinfo

index 8779944ee6df407855e6c6eaa1f74c3b459d7647..6bb1ef8f3f916b1164d1da51878305b07af524c1 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-11  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure.ac (build_warnings): Add -Wno-char-subscripts.
+       * configure: Regenerate.
+       * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
+
 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
index b0d440ff71c88cae0a2d00e4f17d66b737fce502..68a43880d0bafa96491da2486c8c52a2ce9b7da7 100755 (executable)
@@ -21649,7 +21649,7 @@ fi
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wformat-nonliteral -Wno-pointer-sign \
--Wno-unused -Wno-switch"
+-Wno-unused -Wno-switch -Wno-char-subscripts"
 
 # Check whether --enable-build-warnings or --disable-build-warnings was given.
 if test "${enable_build_warnings+set}" = set; then
index 9a6247be7f7d0ce7835a5359cf5ee9cb053e6adc..6db1a189e9fd9d3336b50407df526c9b61293985 100644 (file)
@@ -1169,7 +1169,7 @@ fi
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wformat-nonliteral -Wno-pointer-sign \
--Wno-unused -Wno-switch"
+-Wno-unused -Wno-switch -Wno-char-subscripts"
 
 AC_ARG_ENABLE(build-warnings,
 [  --enable-build-warnings Enable build-time compiler warnings if gcc is used],
index 8e6720fcca4553fa3fc7c3c40acab744c6a19281..3df6beecd287260e0d8acce188ce6fbf9cf8e739 100644 (file)
@@ -5638,6 +5638,7 @@ is being used.
 
 @item -Wno-unused
 @itemx -Wno-switch
+@itemx -Wno-char-subscripts
 These are warnings which might be useful for @value{GDBN}, but are
 currently too noisy to enable with @samp{-Werror}.