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

Breaks with clang-10: no matching conversion for functional-style cast from 'const flopc::SUBSETREF' to 'flopc::MP_domain' #28

Open
yurivict opened this issue Apr 30, 2021 · 3 comments

Comments

@yurivict
Copy link

In file included from MP_constraint.cpp:12:
In file included from ./MP_constraint.hpp:15:
./MP_set.hpp:212:9: error: no matching conversion for functional-style cast from 'const flopc::SUBSETREF' to 'flopc::MP_domain'
        return MP_domain(s);
               ^~~~~~~~~~~

OS: FreeBSD 12.2

@tkralphs
Copy link
Member

I attempted a fix for this in the fix-clang branch, but I never managed to get confirmation from anyone that it works. If it works, I'll merge it.

@yurivict
Copy link
Author

fix-clang does build fine with clang-10.

I suggest that you also make a release after you merge the branch.

@tkralphs
Copy link
Member

OK, will do, thanks!

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