-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add macOS builds to CI #291
Comments
As mentioned here macOS build fails for variety of reasons yet. |
I'm seeing this in my OS X High Sierra build (which compiled and tested OK, just a lot of warnings):
At least some versions of macOS, Apple apparently used |
It looks like #300 solves |
I think we want to use the following instead: s.erase(std::find_if(s.rbegin(), s.rend(), [](int ch) {
return !std::isspace(ch);
}).base(), s.end()); What do you think? References: |
I think we need to keep both versions? Use Reference: |
Your proposal is fine for Unfortunately my presumption to solve BOOST_WORKAROUND is only partly true. This CI build hits the issue on other parts of code. |
Did you add the following? #ifndef __clang_major__
#define __clang_major___WORKAROUND_GUARD 1
#else
#define __clang_major___WORKAROUND_GUARD 0
#endif If so, where did you add it? You probably need to add it to every file that exhibits this boost problem. Or some common header file included by it. None of this happens if you boostrap on Linux and then compile it on macOS. I'm not clear why that is. |
see 4c03a24 At the end we've a succeeded build |
Great! |
We probably should be building gearmand on macOS in CI to ensure we don't break anything there.
The text was updated successfully, but these errors were encountered: