Repository navigation
[WIP] fix: update MI_ATOMIC_VAR_INIT definition for C23 compatibility - #6942
Closed
PastaPastaPasta wants to merge 1 commit into
Closed
PastaPastaPasta wants to merge 1 commit into
PastaPastaPasta wants to merge 1 commit into
Conversation
Modified the definition of MI_ATOMIC_VAR_INIT to handle cases where ATOMIC_VAR_INIT is not defined or when compiling with C23, where it has been removed. This change ensures compatibility with newer C standards while maintaining support for older versions.
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
Member
Author
|
@knst can you investigate if there's an issue with bleeding edge compilers? |
kwvg
reviewed
Nov 7, 2025
kwvg
left a comment
Collaborator
There was a problem hiding this comment.
See bls-signatures#116 for alternative
|
This pull request has conflicts, please rebase. |
Member
Author
|
Closing: fixed upstream via mimalloc v3.1.5 upgrade (bls-signatures#116). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modified the definition of MI_ATOMIC_VAR_INIT to handle cases where ATOMIC_VAR_INIT is not defined or when compiling with C23, where it has been removed. This change ensures compatibility with newer C standards while maintaining support for older versions.
Issue being fixed or feature implemented
What was done?
Describe your changes in detail
How Has This Been Tested?
Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran
to see how your change affects other areas of the code, etc.
Breaking Changes
Please describe any breaking changes your code introduces
Checklist:
Go over all the following points, and put an
xin all the boxes that apply.