-Wuninitialized added

Andrew Cagney ac131313@cygnus.com
Tue May 23 04:31:00 GMT 2000


FYI,

	Andrew
Tue May 23 20:47:50 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* configure.in (build_warnings): Add -Wuninitialized.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -p -r1.24 -r1.25
*** configure.in	2000/05/23 07:49:05	1.24
--- configure.in	2000/05/23 11:28:14	1.25
*************** fi
*** 485,491 ****
  # Don't add -Wall or -Wunused, they include -Wunused-parameter which
  # causes noise.
  build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
! -Wformat -Wparentheses -Wpointer-arith"
  # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
  # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
  # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual
--- 485,491 ----
  # Don't add -Wall or -Wunused, they include -Wunused-parameter which
  # causes noise.
  build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
! -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


More information about the Gdb-patches mailing list