Skip to content

gh-115491: Fix Clang compiler warning#116153

Merged
DinoV merged 1 commit into
python:mainfrom
colesbury:gh-115491-compile-warning
Mar 1, 2024
Merged

gh-115491: Fix Clang compiler warning#116153
DinoV merged 1 commit into
python:mainfrom
colesbury:gh-115491-compile-warning

Conversation

@colesbury

@colesbury colesbury commented Feb 29, 2024

Copy link
Copy Markdown
Contributor

This fixes a warning due to a static function used in a extern inline function:

Objects/mimalloc/alloc.c:77:5: warning: static function 'mi_debug_fill' is used in an inline function with external linkage [-Wstatic-in-inline]
    mi_debug_fill(page, block, MI_DEBUG_UNINIT, mi_page_usable_block_size(page));

@colesbury colesbury requested a review from DinoV February 29, 2024 21:03
@DinoV DinoV merged commit d7ddd90 into python:main Mar 1, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
@colesbury colesbury deleted the gh-115491-compile-warning branch April 8, 2024 16:17
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants