configure.ac: use -Wno-unused-function when using clang

parent 416859db
......@@ -64,7 +64,7 @@ STRICT_OPTIONS_CXX=""
case $CC in
*clang*)
STRICT_OPTIONS="$STRICT_OPTIONS -Qunused-arguments "
STRICT_OPTIONS="$STRICT_OPTIONS -Qunused-arguments -Wno-unused-function "
#disabled due to wrong optimization false positive with small string
#(cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903)
STRICT_OPTIONS="$STRICT_OPTIONS -Wno-array-bounds "
......
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