diff --git a/cmake/modules/DispatchCompilerWarnings.cmake b/cmake/modules/DispatchCompilerWarnings.cmake index 9f390f010..cd71f36e5 100644 --- a/cmake/modules/DispatchCompilerWarnings.cmake +++ b/cmake/modules/DispatchCompilerWarnings.cmake @@ -77,4 +77,8 @@ else() add_compile_options($<$,$>:-Wno-shorten-64-to-32>) endif() add_compile_options($<$,$>:-Wno-error=assign-enum>) + + # Should re-enable after rdar://133498289 is fixed (ie. fixing the one mismatched cast in apply.c) + add_compile_options($<$,$>:-Wno-cast-function-type-mismatch>) + add_compile_options($<$,$>:-Wno-error=unknown-warning-option>) endif()