Skip to content

Compile error on Ubuntu 16.04 #306

@BKdilse

Description

@BKdilse

Please advise on the following (tried normal release and static one):

[ 43%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o /usr/local/src/GraftNetwork.NEW/src/cryptonote_core/cryptonote_core.cpp: In member function ‘size_t cryptonote::core::get_block_sync_size(uint64_t) const’: /usr/local/src/GraftNetwork.NEW/src/cryptonote_core/cryptonote_core.cpp:1068:16: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits] if (height >= quick_height) ^ cc1plus: all warnings being treated as errors src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/build.make:75: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o' failed make[3]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o] Error 1 make[3]: Leaving directory '/usr/local/src/GraftNetwork.NEW/build/Linux/master/release' CMakeFiles/Makefile2:1392: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all' failed make[2]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all] Error 2 make[2]: Leaving directory '/usr/local/src/GraftNetwork.NEW/build/Linux/master/release' Makefile:140: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/local/src/GraftNetwork.NEW/build/Linux/master/release' Makefile:107: recipe for target 'release-static' failed make: *** [release-static] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions