This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Warning compiling main on Windows
Type: compile error Stage: resolved
Components: Build, Windows Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Mark.Shannon, kumaraditya, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2022-01-16 23:34 by terry.reedy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30627 merged kumaraditya, 2022-01-17 05:15
Messages (3)
msg410734 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2022-01-16 23:34
Sometime between Jan 7 and Jan 16 (today) this VC compile warning appeared (debug build).
"specialize.c
..\Python\specialize.c(1243): warning C4018: '<': signed/unsigned mismatch [f:\dev\3x\PCbuild\_freeze_module.vcxproj]"
Same is repeated at end of compile.

Could and should such warnings be treated as errors in CI Windows' build?  Or is it specific to debug build?
msg410804 - (view) Author: Mark Shannon (Mark.Shannon) * (Python committer) Date: 2022-01-17 16:30
New changeset a4bc2218d270c4c7a898c8b3967c8c271afe9abe by Kumar Aditya in branch 'main':
bpo-46405: fix msvc compiler warnings (GH-30627)
https://github.com/python/cpython/commit/a4bc2218d270c4c7a898c8b3967c8c271afe9abe
msg410814 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2022-01-17 18:07
Thank you Kumar for the quick fix.  Just got a clean compile.
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90563
2022-01-17 18:07:26terry.reedysetstatus: open -> closed
resolution: fixed
messages: + msg410814

stage: patch review -> resolved
2022-01-17 16:30:24Mark.Shannonsetmessages: + msg410804
2022-01-17 05:15:04kumaradityasetkeywords: + patch
nosy: + kumaraditya

pull_requests: + pull_request28830
stage: patch review
2022-01-16 23:34:44terry.reedycreate