diff --git a/test/src/unit-noexcept.cpp b/test/src/unit-noexcept.cpp index 25de3410f..61dc2fa8d 100644 --- a/test/src/unit-noexcept.cpp +++ b/test/src/unit-noexcept.cpp @@ -29,6 +29,9 @@ SOFTWARE. #include "doctest_compatibility.h" +DOCTEST_GCC_SUPPRESS_WARNING_PUSH +DOCTEST_GCC_SUPPRESS_WARNING("-Wnoexcept") + #include using nlohmann::json; @@ -95,3 +98,5 @@ TEST_CASE("runtime checks") from_json(j2, pod_bis()); } } + +DOCTEST_GCC_SUPPRESS_WARNING_POP