Unverified Commit 5bdf835c authored by Marcel Raad's avatar Marcel Raad
Browse files

curl-compilers.m4: enable comma clang warning

It usually warns when using commas instead of semicolons or other
operators by accident.

Closes https://github.com/curl/curl/pull/1578
parent 32ec3063
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -901,6 +901,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
          if test "$compiler_num" -ge "306"; then
            tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
          fi
          #
          dnl Only clang 3.9 or later
          if test "$compiler_num" -ge "309"; then
            tmp_CFLAGS="$tmp_CFLAGS -Wcomma"
          fi
        fi
        ;;
        #