You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../libs/kdmp-parser/src/lib/kdmp-parser-structs.h:39:20: error: constexpr function never produces a constant expression [-Winvalid-constexpr]
constexpr uint64_t OffsetFromThis(const void *This, const void *Field) {
^
../libs/kdmp-parser/src/lib/kdmp-parser-structs.h:40:10: note: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
return uint64_t(Field) - uint64_t(This);
^
1 error generated.
The text was updated successfully, but these errors were encountered:
I've come across this error on clang-11:
The text was updated successfully, but these errors were encountered: