Add -Wuninitialized.
authorAndrew Cagney <cagney@redhat.com>
Tue, 23 May 2000 11:28:14 +0000 (11:28 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 23 May 2000 11:28:14 +0000 (11:28 +0000)
gdb/ChangeLog
gdb/configure
gdb/configure.in

index f14b47fd3ef4ef299794ead602058bf76614fda0..d18c7537c31f068ea5cf3edd19104070efd44fcb 100644 (file)
@@ -1,8 +1,14 @@
+Tue May 23 20:47:50 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (build_warnings): Add -Wuninitialized.
+       * configure: Regenerate.
+
 Tue May 23 17:44:18 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        From Mon May 8 14:49:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
        (gdb 5.0): From Michael Paddon <mmpp@esec.com.au>:
        * configure.in (AC_CHECK_HEADERS): Check for <sys/user.h>.
+
        * configure: Re-generate.
        * proc-api.c: Only include <sys/user.h> when available.
        (ioctl_table): Check that PIOCGETPR and PIOCGETU are defined.
index abbc0c3dcfbaad2fe50d191d0dabb80ab9a35f87..e1eeaa069ed8dfcdc44e8f22d9a1362134b390ba 100755 (executable)
@@ -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
index c58eb355041ecceb28745923d4e9dbed1258d9df..c884e97217f0585f3cc922b589d2306cfe2246a9 100644 (file)
@@ -485,7 +485,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
This page took 0.036192 seconds and 4 git commands to generate.