fph / bastet

Evil falling block game. http://fph.altervista.org/prog/bastet.html
GNU General Public License v3.0
272 stars 35 forks source link

Fails to build with Boost >= 1.65 #6

Closed fxcoudert closed 6 years ago

fxcoudert commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Yes, #include <boost/unordered_set> works.

fph commented 6 years ago

OK, I have switched to boost/unordered_set. I hope it works now (and that there are no regression for everyone else). Thanks!