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

error: "<experimental/optional> has been removed. Use <optional> instead." #24

Closed
yurivict opened this issue Dec 25, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@yurivict
Copy link

Build fails:

/usr/include/c++/v1/experimental/optional:11:2: error: "<experimental/optional> has been removed. Use <optional> instead."
#error "<experimental/optional> has been removed. Use <optional> instead."
 ^
In file included from /wrkdirs/usr/ports/science/vipster/work/vipster-1.14a/vipster/qt/main.cpp:4:
/wrkdirs/usr/ports/science/vipster/work/vipster-1.14a/external/CLI11.hpp:172:71: error: no member named 'experimental' in namespace 'std'
template <typename T> std::istream &operator>>(std::istream &in, std::experimental::optional<T> &val) {
                                                                 ~~~~~^

FreeBSD 12 amd64
clang-7
vipster-1.14.a

@sgsaenger
Copy link
Owner

This should be fixed upstream by CLIUtils/CLI11#158
Could you check if it is fixed now on the testing branch?

@yurivict
Copy link
Author

Thanks.

@sgsaenger
Copy link
Owner

Thanks for testing!

@yurivict
Copy link
Author

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants