From d7dd4ad99a5da2b9109a5118e051e9e076475cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 7 Apr 2008 19:04:23 +0000 Subject: [PATCH] Add -Wstrict-overflow=5 as an example. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22901 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/wflags.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/cf/wflags.m4 b/cf/wflags.m4 index 8e3b77ae3..f610ac61e 100644 --- a/cf/wflags.m4 +++ b/cf/wflags.m4 @@ -18,6 +18,7 @@ if test -z "$WFLAGS" -a "$GCC" = "yes"; then # -Wcast-align doesn't work well on alpha osf/1 # -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast # -Wmissing-declarations -Wnested-externs + # -Wstrict-overflow=5 WFLAGS="ifelse($#, 0,-Wall, $1) $dwflags" WFLAGS_NOUNUSED="-Wno-unused" WFLAGS_NOIMPLICITINT="-Wno-implicit-int"