"error: function-like macro 'span_HAVE' is not defined" when std::span is available
burnpanck opened this issue · 2 comments
burnpanck commented
On LLVM 10, I get the above error from "include/nonstd/span.hpp:1524:61":
#if span_CPP11_OR_GREATER && span_FEATURE( BYTE_SPAN ) && ( span_HAVE( BYTE ) || span_HAVE( NONSTD_BYTE ) )
It seem that, span_HAVE(...)
is only defined when span_USES_STD_SPAN
is false, but used outside of that configuration too.
gracicot commented
This also affect GCC11
martinmoene commented
Thanks for the heads-up.
This issue seems to be a duplicate of #55 and should have been closed already in April 2020 :)
span_HAVE()
has been made available when using std::span
in release 8.0 in issue #55 via bfee78b.