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

Include <functional> in Demangle.h #59

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

etbrady
Copy link
Contributor

@etbrady etbrady commented Mar 28, 2024

This resolves a build error when using Bazel to build on Xcode 15.3

In file included from external/swift-index-store~/Sources/CSwiftDemangle/CSwiftDemangle.cpp:1:
external/swift-index-store~/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h:61:8: error: no template named 'function' in namespace 'std'
  std::function<std::string(uint64_t, uint64_t)> GenericParameterName =
  ~~~~~^
1 error generated.
Error in child process '/usr/bin/xcrun'. 1

@etbrady etbrady requested a review from keith as a code owner March 28, 2024 17:14
This resolves a build error when using Bazel to build on Xcode 15.3

Signed-off-by: Ethan Brady <[email protected]>
@keith keith enabled auto-merge (squash) March 28, 2024 17:33
Copy link
Member

@keith keith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool thanks, we should probably re-sync these headers since they're copied from upstream, but doesn't hurt to patch in the meantime to unblock!

@keith keith merged commit 7a07270 into MobileNativeFoundation:main Mar 28, 2024
3 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.

2 participants