aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-23 11:28:14 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-23 11:28:14 +0000
commit16cadf399acef54f873030ccd31a964a2150e963 (patch)
tree5a4afb70be0a5efdb79d79b7d51edb774249ad0c /gdb/configure
parent4c8d9ec67abe5b9441b80a8c712b6a53c404cbb1 (diff)
downloadgdb-16cadf399acef54f873030ccd31a964a2150e963.zip
gdb-16cadf399acef54f873030ccd31a964a2150e963.tar.gz
gdb-16cadf399acef54f873030ccd31a964a2150e963.tar.bz2
Add -Wuninitialized.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure b/gdb/configure
index abbc0c3..e1eeaa0 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -3293,7 +3293,7 @@ for ac_hdr in ctype.h curses.h endian.h link.h thread_db.h proc_service.h \
string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
term.h termio.h termios.h unistd.h wait.h sys/wait.h \
wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
- time.h sys/ioctl.h
+ time.h sys/ioctl.h sys/user.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -5496,7 +5496,7 @@ fi
# Don't add -Wall or -Wunused, they include -Wunused-parameter which
# causes noise.
build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
--Wformat -Wparentheses -Wpointer-arith"
+-Wformat -Wparentheses -Wpointer-arith -Wuninitialized"
# Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
# -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
# -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual