From 9fbbde13cbcf4872508a04b178671f15e3f851e7 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Mon, 13 Jan 2025 10:43:35 +0100 Subject: [PATCH] MSVC workaround --- c2h/include/c2h/catch2_test_helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c2h/include/c2h/catch2_test_helper.h b/c2h/include/c2h/catch2_test_helper.h index 173438de7c9..fb0ff2c00a7 100644 --- a/c2h/include/c2h/catch2_test_helper.h +++ b/c2h/include/c2h/catch2_test_helper.h @@ -64,8 +64,10 @@ #if _CCCL_COMPILER(MSVC) # undef CATCH_INTERNAL_START_WARNINGS_SUPPRESSION # undef CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION +# undef CATCH_INTERNAL_SUPPRESS_UNUSED_VARIABLE_WARNINGS # define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION # define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION +# define CATCH_INTERNAL_SUPPRESS_UNUSED_VARIABLE_WARNINGS #endif #ifndef VAR_IDX