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

Fix compilation with clang-15 #21

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dimula73
Copy link

std::unary_function and std::binary_function are removed from the standard in C++17.

std::unary_function and std::binary_function are removed from the
standard in C++17.
@glenfe
Copy link
Member

glenfe commented Apr 13, 2023

I think we should just define these unconditionally for now. I can take care of it, for 1.83. If needed we can provide a patch for clang 15 users for 1.82 on the website.

@alvinhochun
Copy link

For reference, BOOST_NO_CXX98_FUNCTION_BASE is defined in:
boostorg/config@0e364ef
boostorg/config#430
boostorg/config#440

@JIghtuse
Copy link

Please fix it, it breaks parts of boost which depend on functional. See this example with multi_array: user needs to pass weird -D_HAS_AUTO_PTR_ETC=0 to fix compilation with Clang + libc++.

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

Successfully merging this pull request may close these issues.

None yet

4 participants