Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails #153

Open
darkerego opened this issue Feb 7, 2023 · 0 comments
Open

Build fails #153

darkerego opened this issue Feb 7, 2023 · 0 comments

Comments

@darkerego
Copy link

darkerego commented Feb 7, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant