]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Instruct clang not to treat unused command line arguments as errors
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 9 Jun 2013 20:35:58 +0000 (22:35 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 9 Jun 2013 20:35:58 +0000 (22:35 +0200)
acinclude/compiler-flags.m4

index 345c2dea05bf6fd24f867a78b839087e35129cea..5c30dab870fb631b602288452132b396af967114 100644 (file)
@@ -170,7 +170,7 @@ AC_DEFUN([SQUID_CC_GUESS_OPTIONS], [
    squid_cv_cc_arg_pipe=""
    ;;
   clang) 
-   squid_cv_cxx_option_werror="-Werror -Wno-error=parentheses-equality"
+   squid_cv_cxx_option_werror="-Werror -Wno-error=parentheses-equality -Qunused-arguments"
    squid_cv_cc_option_werror="$squid_cv_cxx_option_werror" 
    squid_cv_cc_option_wall="-Wall"
    squid_cv_cc_option_optimize="-O2"