-
Notifications
You must be signed in to change notification settings - Fork 44
Description
With this error:
In file included from /home/anon/abieos/src/key_test.cpp:1:
/home/anon/abieos/include/eosio/to_key.hpp: In function ‘UInt eosio::float_to_key(T)’:
/home/anon/abieos/include/eosio/to_key.hpp:247:50: error: ‘numeric_limits’ is not a member of ‘std’
247 | UInt signbit = (static_cast(1) << (std::numeric_limits::digits - 1));
| ^~~~~~~~~~~~~~
/home/anon/abieos/include/eosio/to_key.hpp:247:69: error: expected primary-expression before ‘>’ token
247 | UInt signbit = (static_cast(1) << (std::numeric_limits::digits - 1));
| ^
/home/anon/abieos/include/eosio/to_key.hpp:247:72: error: ‘::digits’ has not been declared
247 | UInt signbit = (static_cast(1) << (std::numeric_limits::digits - 1));
| ^~~~~~
/home/anon/abieos/include/eosio/to_key.hpp: In function ‘void eosio::to_key(const T&, S&)’:
/home/anon/abieos/include/eosio/to_key.hpp:267:54: error: ‘numeric_limits’ is not a member of ‘std’
267 | v -= static_cast<std::make_unsigned_t>(std::numeric_limits::min());
| ^~~~~~~~~~~~~~
/home/anon/abieos/include/eosio/to_key.hpp:267:70: error: expected primary-expression before ‘>’ token
267 | v -= static_cast<std::make_unsigned_t>(std::numeric_limits::min());
| ^
/home/anon/abieos/include/eosio/to_key.hpp:267:73: error: ‘::min’ has not been declared; did you mean ‘std::min’?
267 | v -= static_cast<std::make_unsigned_t>(std::numeric_limits::min());
| ^~~
| std::min
Is there a binary somewhere I can use?