Skip to content

Conversation

@DinoV
Copy link
Contributor

@DinoVDinoV commented Oct 31, 2023

Remove mimalloc .c files from Windows build

@vstinner
Copy link
Member

There are some compiler warnings: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'unsigned __int64' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

@vstinner
Copy link
Member

Tests pass!

@corona10corona10 changed the title Don't include mimalloc .c's in Windows buildgh-90815: Exclude mimalloc .c files from Windows buildOct 31, 2023
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM. Objects/obmalloc.c uses #include "pycore_mimalloc.h", so already includes mimalloc code "statically".

@vstinner
Copy link
Member

I don't click on "Enable auto-merge", since I would like to see if the warnings are gone ;-)

Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
@DinoVDinoVforce-pushed the nogil/mimalloc_windows branch from 846b2af to 7894ccaCompareOctober 31, 2023 17:24
@DinoVDinoV merged commit c42347d into python:mainOct 31, 2023
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
…111532) * Don't include mimalloc .c's in Windows build * Fix warnings on Windows related to mimalloc
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…111532) * Don't include mimalloc .c's in Windows build * Fix warnings on Windows related to mimalloc
@DinoVDinoV deleted the nogil/mimalloc_windows branch May 31, 2024 18:23
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…111532) * Don't include mimalloc .c's in Windows build * Fix warnings on Windows related to mimalloc
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@DinoV@vstinner