Add -Wstrict-overflow=5 as an example.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22901 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 19:04:23 +00:00
parent 2eddd79877
commit d7dd4ad99a

View File

@@ -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"