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
I am hitting plenty of errors about unknown numeric_limits
/data/sources/switch/nstool/deps/libtoolchain/include/tc/crypto/detail/XtsModeImpl.h: In member function ‘void tc::crypto::detail::XtsModeImpl<BlockCipher>::incr_tweak_be(byte_t*, uint64_t)’:
/data/sources/switch/nstool/deps/libtoolchain/include/tc/crypto/detailXtsModeImpl.h:275:51: error: ‘numeric_limits’ is not a member of ‘std’
275 | uint64_t remaining = std::numeric_limits<uint64_t>::max() - word;
|
the fix is to add
include <limits>
to deps/libtoolchain/include/tc/types.h
that seems to fix the build.
The text was updated successfully, but these errors were encountered:
I am hitting plenty of errors about unknown numeric_limits
the fix is to add
to deps/libtoolchain/include/tc/types.h
that seems to fix the build.
The text was updated successfully, but these errors were encountered: