add -Qunused-argument for clang

This commit is contained in:
Jehan Monnier 2013-11-06 16:45:13 +01:00
parent 55fedeb6b7
commit 8199ed773c

View file

@ -601,7 +601,7 @@ AC_ARG_ENABLE(strict,
STRICT_OPTIONS="-Wall "
if test "$strictness" = "yes" ; then
STRICT_OPTIONS="$STRICT_OPTIONS -Werror"
STRICT_OPTIONS="$STRICT_OPTIONS -Werror -Qunused-arguments"
CFLAGS="$CFLAGS -fno-strict-aliasing"
fi