-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
3rdparty: remove optional submodule + misc #5045
Conversation
Ironically may still need it for OSX... |
The optional's header from the submodule has been removed in the commit 5afd12e. Was it a mistake? |
MacOS's optional headers seem to be bugged, with XCode 9.4 they're hidden behind
and in Xcode 10 Beta they've been moved out of experimental but still have the same issue. |
You can replace
by
It should do the trick on MacOS. Source: https://stackoverflow.com/questions/44217316/how-do-i-use-stdoptional-in-c |
Ok, so do you want to add that to the PR @scribam or just keep the optional submodule and only enable it for MacOS? I'm fine with changing the minimum XCode version to 10. |
Update this when things build smoothly on mac. I don't think anyone cares about what version of XCode is required at this time, as long as it builds and runs. CI builds are not yet available. I'll let @hcorion review this as he has access to a mac. |
@hcorion Compilation fixes for optional added in this PR @kd-11 I don't think it will happen soon except if Travis updates their osx image.
|
With C++17, the optional submodule is not necessary anymore.