Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gh-90815: Fix mimalloc atomic.h on Windows arm64 #111527

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 30, 2023

mi_atomic_load_explicit() casts 'p' argument to drop the 'const' qualifier on Windows arm64 platform. Fix the compiler warning:

'function': different 'const' qualifiers
(compiling source file ..\Objects\mimalloc\options.c)

mi_atomic_load_explicit() casts 'p' argument to drop the 'const'
qualifier on Windows arm64 platform. Fix the compiler warning:

    'function': different 'const' qualifiers
    (compiling source file ..\Objects\mimalloc\options.c)
@vstinner
Copy link
Member Author

cc @DinoV

@vstinner vstinner enabled auto-merge (squash) October 30, 2023 22:23
@vstinner
Copy link
Member Author

Tests / Hypothesis tests on Ubuntu (pull_request) Failing after 7m

FAIL: test_timerfd_poll (test.test_os.TimerfdTests.test_timerfd_poll) failed: it's unrelated.

I created #111529 to fix the test.

@vstinner vstinner merged commit 801741f into python:main Oct 30, 2023
@vstinner vstinner deleted the mimalloc_win_arm64 branch October 30, 2023 22:33
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
mi_atomic_load_explicit() casts 'p' argument to drop the 'const'
qualifier on Windows arm64 platform. Fix the compiler warning:

    'function': different 'const' qualifiers
    (compiling source file ..\Objects\mimalloc\options.c)
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
mi_atomic_load_explicit() casts 'p' argument to drop the 'const'
qualifier on Windows arm64 platform. Fix the compiler warning:

    'function': different 'const' qualifiers
    (compiling source file ..\Objects\mimalloc\options.c)
daanx added a commit to microsoft/mimalloc that referenced this pull request May 18, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
mi_atomic_load_explicit() casts 'p' argument to drop the 'const'
qualifier on Windows arm64 platform. Fix the compiler warning:

    'function': different 'const' qualifiers
    (compiling source file ..\Objects\mimalloc\options.c)
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant