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

Add -fexperimental-library flag on Clang 16 to fix compile errors #5416

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

ihnorton
Copy link
Member

@ihnorton ihnorton commented Jan 2, 2025

Fix compilation errors on newer Clang (upstream) versions which do not fully support jthread and stop_token. Already used for AppleClang variant.

x-ref


TYPE: NO_HISTORY
DESC: Add -fexperimental-library flag on Clang 16 to fix compile errors

Fix compilation errors on newer Clang (upstream) versions which do not fully
support jthread and stop_token. Already used for AppleClang variant.

x-ref
  - #5364
  - #5411
Copy link
Collaborator

@dudoslav dudoslav left a comment

Choose a reason for hiding this comment

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

Based on this: #5411 (comment)
This looks like it fixes the issue. Although we don't have tests for this. Should I add one?

@ihnorton
Copy link
Member Author

ihnorton commented Jan 3, 2025

Although we don't have tests for this. Should I add one?

Upstream Clang is fairly niche, so I don't think we should add another mac build at the moment ($).

@ihnorton ihnorton merged commit 5f8ae4c into main Jan 3, 2025
65 checks passed
@ihnorton ihnorton deleted the ihn/sc-61180/clang16-compile branch January 3, 2025 14:43
@ihnorton
Copy link
Member Author

ihnorton commented Jan 3, 2025

/backport to release-2.27

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.

tiledb/stdx/test/compat.cc fails to build with libcxx (llvm-19)
2 participants