From 820b1f12bf04a5df1ac86893cecee67dcfb4a607 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 6 Aug 2019 19:17:16 -0500 Subject: [PATCH] static constexpr: storage class first Seen with PGI compiler for `static constexpr`: ``` warning: storage class is not first ``` --- include/internal/catch_fatal_condition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_fatal_condition.cpp b/include/internal/catch_fatal_condition.cpp index cea271f3..1eb6bb87 100644 --- a/include/internal/catch_fatal_condition.cpp +++ b/include/internal/catch_fatal_condition.cpp @@ -97,7 +97,7 @@ namespace Catch { // 32kb for the alternate stack seems to be sufficient. However, this value // is experimentally determined, so that's not guaranteed. - constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; + static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; static SignalDefs signalDefs[] = { { SIGINT, "SIGINT - Terminal interrupt signal" },