diff options
author | Zoltan Varga <vargaz@gmail.com> | 2014-04-17 09:10:29 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2014-04-17 09:10:29 +0400 |
commit | 4bcbce9b0215f537657667acc958e7152bf796c0 (patch) | |
tree | 31ffe2e8bee87e0e1f691aa620a50c346d9ac264 /configure.in | |
parent | cef112d74d9d04632aa1a1317e9ac7ce02494eb4 (diff) |
Disable the self-assign warning when using clang.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index db7bebfe2ad..27780df192c 100644 --- a/configure.in +++ b/configure.in @@ -548,7 +548,7 @@ if test x"$GCC" = xyes; then if test "x$mono_cv_clang" = "xyes"; then # https://bugzilla.samba.org/show_bug.cgi?id=8118 WARN="$WARN -Qunused-arguments" - WARN="$WARN -Wno-unused-function -Wno-tautological-compare -Wno-parentheses-equality" + WARN="$WARN -Wno-unused-function -Wno-tautological-compare -Wno-parentheses-equality -Wno-self-assign" fi else # The Sun Forte compiler complains about inline functions that access static variables |