Disable the self-assign warning when using clang.
authorZoltan Varga <vargaz@gmail.com>
Thu, 17 Apr 2014 05:10:29 +0000 (07:10 +0200)
committerZoltan Varga <vargaz@gmail.com>
Thu, 17 Apr 2014 05:10:29 +0000 (07:10 +0200)
configure.in

index db7bebfe2ad975d18feca064b70701a8c55538eb..27780df192c31a8b3fd69bf435a664cf31261cc3 100644 (file)
@@ -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