Skip to content
Snippets Groups Projects
Commit 54c411f6 authored by Martin Mareš's avatar Martin Mareš
Browse files

Add more warnings if --enable-warnings is turned on. (probably requires

gcc-3.0 or newer, but I hope it's OK)
parent 189dab54
Branches
Tags
No related merge requests found
......@@ -58,7 +58,7 @@ if test -z "$GCC" ; then
AC_MSG_CHECKING([what CFLAGS should we use])
if test "$ac_test_CFLAGS" != set ; then
if test "$enable_warnings" = yes ; then
WARNS=""
WARNS=" -Wmissing-prototypes -Wundef"
else
WARNS=" -Wno-unused"
fi
......
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