Skip to content

Commit

Permalink
cflags: clang complains a lot about -Wunused-value which are not fixable
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban authored and Father Chrysostomos committed Jun 9, 2012
1 parent c0b8aeb commit d5db65c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cflags.SH
Expand Up @@ -337,6 +337,10 @@ for file do
cppflags=`echo $cppflags|sed 's/-Wdeclaration-after-statement/ /'`
case "$cc" in
*clang)
# clang complains a lot about -Wunused-value which are not fixable
warn="$warn -Wno-unused-value"
;;
*g++*)
# Without -Wno-unused-variable g++ 4.x compiles are rather unwatchable
# because of all the warnings about Perl___notused, and g++ doesn't do
Expand Down

0 comments on commit d5db65c

Please sign in to comment.