From 49f78e0e154d3cc1c5eb0212056880faf725e840 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 17 Aug 2021 11:38:27 +0200 Subject: [PATCH] :alembic: update warning flags --- test/src/unit-noexcept.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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