diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 59ac340c0..8886a469a 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -948,6 +948,7 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ dnl clang 7 or later if test "$compiler_num" -ge "700"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) fi fi ;;