mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-21 07:23:38 +08:00
* configure.ac (build_warnings): Add -Wno-char-subscripts.
* configure: Regenerate. * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
This commit is contained in:
parent
70f575ccc8
commit
58b38ee2f1
@ -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'.
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -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
|
||||
|
@ -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],
|
||||
|
@ -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}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user