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

Fails to build with Boost >= 1.65 #6

Closed
fxcoudert opened this issue Oct 3, 2017 · 3 comments
Closed

Fails to build with Boost >= 1.65 #6

fxcoudert opened this issue Oct 3, 2017 · 3 comments

Comments

@fxcoudert
Copy link

fxcoudert commented Oct 3, 2017

With recent compiler (latest clang, e.g. from Xcode 9 on macOS) and latest boost (1.65), the compilation fails because:

./BastetBlockChooser.hpp:26:10: fatal error: 'boost/tr1/tr1/unordered_set' file not found
#include <boost/tr1/tr1/unordered_set>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is available as system header under the name #include <unordered_set>

@fph
Copy link
Owner

fph commented Oct 4, 2017

Thanks for the report!
I switched away from the system unordered_set to the boost one because the former did not work everywhere (see #1). I'll look into it -- I just have to look for a portable way to include that library. :(

Can you please tell me if #include <boost/unordered_set> works on your system?

@fxcoudert
Copy link
Author

Yes, #include <boost/unordered_set> works.

@fph fph closed this as completed in 0e03f8d Oct 4, 2017
@fph
Copy link
Owner

fph commented Oct 4, 2017

OK, I have switched to boost/unordered_set. I hope it works now (and that there are no regression for everyone else). 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