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

Unable to compile current master #8

Closed
DefiDebauchery opened this issue Sep 27, 2022 · 1 comment
Closed

Unable to compile current master #8

DefiDebauchery opened this issue Sep 27, 2022 · 1 comment

Comments

@DefiDebauchery
Copy link

When attempting to test #5 with the new commits, I am now getting the following:

Dispatcher.cpp: In function ‘cl_ulong4 fromHex(const string&)’:
Dispatcher.cpp:16:32: error: ‘htonl’ was not declared in this scope
 #define htonll(x) ((((uint64_t)htonl(x)) << 32) | htonl((x) >> 32))
                                ^
Dispatcher.cpp:47:4: note: in expansion of macro ‘htonll’
    htonll(*(uint64_t *)(data + 24)),
    ^~~~~~
Dispatcher.cpp:16:32: note: suggested alternative: ‘htonll’
 #define htonll(x) ((((uint64_t)htonl(x)) << 32) | htonl((x) >> 32))
                                ^
Dispatcher.cpp:47:4: note: in expansion of macro ‘htonll’
    htonll(*(uint64_t *)(data + 24)),
    ^~~~~~
@k06a
Copy link
Member

k06a commented Sep 28, 2022

@DefiDebauchery thx, now should be fixed

@k06a k06a closed this as completed Sep 28, 2022
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

2 participants