aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2007-04-11 18:36:50 +0000
committerSteve Ellcey <sje@cup.hp.com>2007-04-11 18:36:50 +0000
commit58b38ee2f119643384ca76674ffaafbf893e0aed (patch)
treef7a34edee063c40562d7fe1e68dece2d212fdb4e /gdb/configure.ac
parent70f575ccc8d2ef399512be60131931dc16149149 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
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],