Closed hadrielk closed 2 months ago
That's odd because gcc 7.3 defaults to C++14 and the deprecation is C++17 if I'm not mistaken.
sorry, yes I'm compiling with -std=c++17
- I should have mentioned that.
Sounds like a variation of https://github.com/boostorg/system/pull/49 is in order. Would you be willing to submit a PR?
Would you be willing to submit a PR?
Sure. I'll submit one later this week.
Addressed in 04cc766db315c9b573fa96aaa214c8acd8a16d64
When compiling
span.hpp
,gcc 7.3
gives me this warning:Because it's a
static constexpr
defined within the class, and then outside of it later in the file (as if for non-constexpr statics).