You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The casm-boost-cpp17 conda package compiles boost 1.66.0 with c++17. But this version of boost uses std::unary_function which was deprecated in c++11 and removed in the c++17 standard. Compilers were still supporting it, but now that support is being removed by default, for example it results in an error from clang in the latest OSX version.
Until casm-boost-cpp17 is updated, a fix is to use the _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION compiler flag. So an example configuration script could be:
The
casm-boost-cpp17
conda package compiles boost 1.66.0 with c++17. But this version of boost usesstd::unary_function
which was deprecated in c++11 and removed in the c++17 standard. Compilers were still supporting it, but now that support is being removed by default, for example it results in an error from clang in the latest OSX version.Until
casm-boost-cpp17
is updated, a fix is to use the_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
compiler flag. So an example configuration script could be:Also see this or this.
The text was updated successfully, but these errors were encountered: