diff options
author | Steve Ellcey <sje@cup.hp.com> | 2007-04-11 18:36:50 +0000 |
---|---|---|
committer | Steve Ellcey <sje@cup.hp.com> | 2007-04-11 18:36:50 +0000 |
commit | 58b38ee2f119643384ca76674ffaafbf893e0aed (patch) | |
tree | f7a34edee063c40562d7fe1e68dece2d212fdb4e | |
parent | 70f575ccc8d2ef399512be60131931dc16149149 (diff) | |
download | gdb-58b38ee2f119643384ca76674ffaafbf893e0aed.zip gdb-58b38ee2f119643384ca76674ffaafbf893e0aed.tar.gz gdb-58b38ee2f119643384ca76674ffaafbf893e0aed.tar.bz2 |
* configure.ac (build_warnings): Add -Wno-char-subscripts.
* configure: Regenerate.
* doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8779944..6bb1ef8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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'. diff --git a/gdb/configure b/gdb/configure index b0d440f..68a4388 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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 diff --git a/gdb/configure.ac b/gdb/configure.ac index 9a6247b..6db1a18 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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], diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 8e6720f..3df6bee 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -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}. |