From 6cc7d725dba86400bff212376b63624172e4090d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Nov 2000 22:13:20 +0000 Subject: Update. 2000-11-20 Ulrich Drepper * configure.in: Add --enable-all-warnings. * config.make.in (all-warnings): New variable. * Makeconfig (+gccwarn): Define with many more warnings if all-warnings is yes. --- Makeconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index b706e9a..b47ccda 100644 --- a/Makeconfig +++ b/Makeconfig @@ -515,7 +515,11 @@ RANLIB = ranlib endif # Extra flags to pass to GCC. +ifeq ($(all-warnings),yes) ++gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar +else +gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes +endif # This is the program that generates makefile # dependencies from C source files. -- cgit v1.1