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

Disable BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT for MacOS builds #2919

Merged

Conversation

dgovil
Copy link
Collaborator

@dgovil dgovil commented Jan 25, 2024

Description of Change(s)

When building with Boost 1.82 or prior on macOS with clang 15 or higher, Boost will fail to compile due to the missing std::piecewise_construct constant.

std::piecewise_construct_t is an empty class tag type used to disambiguate between different functions that take two tuple arguments, and is present. std::piecewise_construct is a constant instant of it that doesn't seem to exist.

Since this is just a sentinal type, boost provides falling back to its own implementation. In theory this patch doesn't need to be platform specific, but for now I've set it to macOS only.

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-9207

@pixar-oss pixar-oss merged commit b226a1c into PixarAnimationStudios:dev Feb 23, 2024
3 of 5 checks passed
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.

3 participants