From 1feedbb88df796651f6b3e4baad3786e32720019 Mon Sep 17 00:00:00 2001 From: Rafal Rudnicki Date: Wed, 26 Aug 2026 16:03:55 +0000 Subject: [PATCH] Disable warn for "tag" build in compat workflow --- .github/workflows/reusable_compatibility.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/reusable_compatibility.yml b/.github/workflows/reusable_compatibility.yml index 482657ecc..cba1483e4 100644 --- a/.github/workflows/reusable_compatibility.yml +++ b/.github/workflows/reusable_compatibility.yml @@ -208,6 +208,9 @@ jobs: run: cmake --install ${{github.workspace}}/latest_version/build --config Debug - name: Configure "tag" UMF build + # NOTE: we need to disable warning 4068 (unknown pragma) in the "tag" version + # as the fix was implemented in the newer version. Re-enable warning 4068 + # after updating the compatibility tag to a version newer than v1.0.1. working-directory: ${{github.workspace}}/tag_version run: > cmake @@ -215,6 +218,8 @@ jobs: -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl + -DCMAKE_C_FLAGS="/wd4068" + -DCMAKE_CXX_FLAGS="/wd4068 /EHsc" -DUMF_BUILD_SHARED_LIBRARY=ON -DUMF_BUILD_TESTS=ON -DUMF_BUILD_EXAMPLES=ON