From d80380145f9edc769f421ab26a0f27819d39b9b5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 17 May 2000 08:46:20 +0000 Subject: Minor maint et.al. tweeks. --- gdb/configure.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gdb/configure.in') diff --git a/gdb/configure.in b/gdb/configure.in index 65e8cc0..468a07e 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -482,10 +482,16 @@ if test "${enable_netrom}" = "yes"; then 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" -# Not yet: -Wall -Wpointer-arith -Wstrict-prototypes -# -Wmissing-prototypes -Wmissing-declarations +# Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs +# -Wunused-function -Wunused-label -Wunused-variable -Wunused-value +# -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual +# -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes +# -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls +# -Woverloaded-virtual -Winline -Werror" AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in -- cgit v1.1