From 9e5ead016bea50f3f29d04804e7b5846df9f4c80 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 22 Apr 2026 21:08:47 +0200 Subject: [PATCH] and above -> or higher --- CMake/PickyWarnings.cmake | 2 +- m4/curl-compilers.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/PickyWarnings.cmake b/CMake/PickyWarnings.cmake index bf4b183e2a..2bd1360b89 100644 --- a/CMake/PickyWarnings.cmake +++ b/CMake/PickyWarnings.cmake @@ -215,7 +215,7 @@ if(PICKY_COMPILER) if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 10.0) OR (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 12)) list(APPEND _picky_enable - -Wimplicit-fallthrough # clang 4.0 gcc 7.0 appleclang 9.0 # We do silencing for clang 10.0 and above only + -Wimplicit-fallthrough # clang 4.0 gcc 7.0 appleclang 9.0 # We do silencing for clang 10.0 or higher only -Wxor-used-as-pow # clang 10.0 gcc 13.0 appleclang 12.0 ) endif() diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index fa28750afe..e62b4b4862 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -925,7 +925,7 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ dnl clang 10 or higher if test "$compiler_num" -ge "1000"; then - tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 or higher only CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [xor-used-as-pow]) fi