Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-90815: Fix _PyMem_MimallocEnabled() compiler warning#111522

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:mainfromvstinner:mimalloc
Oct 30, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedOct 30, 2023
edited by bedevere-appbot
Loading

Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is not defined (./configure --without-pymalloc).

Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().

Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is notdefined (./configure --without-pymalloc).Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().
@vstinner
Copy link
MemberAuthor

I tested that no warnings is emitted with these 4 configurations:

pyconfigure_debug --with-pymalloc --with-mimalloc && make clean && makepyconfigure_debug --with-pymalloc --without-mimalloc && make clean && makepyconfigure_debug --without-pymalloc --with-mimalloc && make clean && makepyconfigure_debug --without-pymalloc --without-mimalloc && make clean && make

with:

$ alias pyconfigure_debugalias pyconfigure_debug='./configure --cache-file=../python-config.cache --with-pydebug CFLAGS=-O0 --with-system-expat'

@vstinnervstinner merged commitda4d314 intopython:mainOct 30, 2023
@vstinnervstinner deleted the mimalloc branchOctober 30, 2023 22:05
FullteaR pushed a commit to FullteaR/cpython that referenced this pull requestNov 3, 2023
…#111522)Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is notdefined (./configure --without-pymalloc).Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
…#111522)Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is notdefined (./configure --without-pymalloc).Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
…#111522)Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is notdefined (./configure --without-pymalloc).Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp