Skip to content

Commit

Permalink
static constexpr: storage class first
Browse files Browse the repository at this point in the history
Seen with PGI compiler for `static constexpr`:
```
warning: storage class is not first
```
  • Loading branch information
ax3l committed Aug 7, 2019
1 parent 6070745 commit 820b1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/internal/catch_fatal_condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 820b1f1

Please sign in to comment.