-
Notifications
You must be signed in to change notification settings - Fork 90
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
Support Building on OpenBSD #148
Support Building on OpenBSD #148
Conversation
Please rebase on latest master. |
ddb1f3e
to
727e09e
Compare
Haven't tested on OpenBSD, but looking good. Thanks! |
#ifdef __APPLE__ | ||
#if defined(__APPLE__) | ||
#elif defined(__OpenBSD__) | ||
void to_variant( size_t s, variant& v, uint32_t max_depth ) { v = variant( int64_t(s) ); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether this is really needed. I suspect it's unused since macOS build doesn't rely on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, found the code for macOS in variant.hpp
implemented with inline
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using int64_t
but not uint64_t
here is probably wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix: #194.
Hey Monkeys!
I had some interest in being able to run a BitShares node on OpenBSD.
This PR with this bitshares-core PR contains changes allowing to successfully build the code base under OpenBSD.
The work is not done yet, because, at least for me, the compiled executables crash (with a segmentation fault) on calling some boost functions (hastily done some call tracing).
I plan to investigate further. So far, I wanted to share and close the work already done.
Ape out!