Commit 4d9da3e6 authored by Niels Möller's avatar Niels Möller

* configure.in (CPPFLAGS): Add more warning flags. But *not*

-Wcast-align.

Rev: src/configure.in:1.18
parent 352d3f4c
......@@ -198,8 +198,14 @@ fi
# Set these flags *last*, or else the test programs won't compile
if test x$GCC = xyes ; then
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wmissing-declarations \
-Wstrict-prototypes -Waggregate-return"
CFLAGS="$CFLAGS -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
# Don't enable -Wcast-align results in tons of warnings in the DES
# code. And when using stdio.
fi
AC_OUTPUT(Makefile lib/Makefile include/Makefile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment