Skip to content

Build fails  #153

@darkerego

Description

@darkerego

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions