Skip to content

Errors when compiling on ubuntu 16 #5

Description

@zhmrab

Running into a couple errors using the generator in ubuntu 16.04

`cryptonote_format_utils.cpp:891:101: error: comparison with string literal results in unspecified behaviour [-Werror=address]
if (string_tools::pod_to_hex(block_blob_hash) == correct_blob_hash_202612 && CRYPTONOTE_NAME == "monero")

src/cryptonote_basic/cryptonote_format_utils.cpp:901:89: error: comparison with string literal results in unspecified behaviour [-Werror=address]
if (string_tools::pod_to_hex(res) == existing_block_id_202612 && CRYPTONOTE_NAME == "monero")
^
cc1plus: all warnings being treated as errors
src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/build.make:110: recipe for target 'src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/cryptonote_format_utils.cpp.o' failed
^
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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