From 4ff96170aa3475d4140e75137827492afea9ed77 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 6 Oct 2020 19:21:47 +0200 Subject: [PATCH] build: workaround for gcc-10.0.1 added --- test/unit_test/static/custom_rep_test_min_expl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit_test/static/custom_rep_test_min_expl.cpp b/test/unit_test/static/custom_rep_test_min_expl.cpp index bd2f7660..fb2d75f3 100644 --- a/test/unit_test/static/custom_rep_test_min_expl.cpp +++ b/test/unit_test/static/custom_rep_test_min_expl.cpp @@ -137,9 +137,13 @@ static_assert(QuantityValue>); static_assert(!QuantityValue>); static_assert(!QuantityValue>); static_assert(!QuantityValue>); +#if COMP_GCC == 10 && COMP_GCC_MINOR > 0 static_assert(!QuantityValue>); +#endif static_assert(!QuantityValue>); +#if COMP_GCC == 10 && COMP_GCC_MINOR > 0 static_assert(!QuantityValue>); +#endif static_assert(!QuantityValue>); static_assert(!QuantityValue>); static_assert(!QuantityValue>);