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: New compilation warnings on Windows
Type: behavior Stage: resolved
Components: Build, Windows Versions: Python 3.11
process
Status: closed Resolution: duplicate
Dependencies: Superseder: _Py_stat and _Py_wstat using incorrect type for status argument
View: 46303
Assigned To: Nosy List: christian.heimes, gvanrossum, pablogsal, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Priority: Keywords:

Created on 2022-01-11 18:31 by gvanrossum, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg410320 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2022-01-11 18:31
I am getting these warnings:

C:\Users\gvanrossum\cpython\PC\_testconsole.c(70,38): warning C4013: '_Py_get_osfhandle' undefined; assuming extern returnin
g int [C:\Users\gvanrossum\cpython\PCbuild\_testconsole.vcxproj]
C:\Users\gvanrossum\cpython\PC\_testconsole.c(70,1): warning C4047: 'initializing': 'HANDLE' differs in levels of indirectio
n from 'int' [C:\Users\gvanrossum\cpython\PCbuild\_testconsole.vcxproj]
C:\Users\gvanrossum\cpython\Modules\_tkinter.c(144,37): warning C4013: '_Py_stat' undefined; assuming extern returning int [
C:\Users\gvanrossum\cpython\PCbuild\_tkinter.vcxproj]

I noticed that GitHub also was flagging these in unrelated PRs.
msg410325 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-01-11 20:05
Possibly related to Victor's change in issue46303?
msg410350 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2022-01-11 23:11
Oh right, I introduced these warnings in bpo-46303. Let's continue the discussion there.
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90504
2022-01-11 23:11:59vstinnersetstatus: open -> closed
priority: release blocker ->
dependencies: - _Py_stat and _Py_wstat using incorrect type for status argument

superseder: _Py_stat and _Py_wstat using incorrect type for status argument
messages: + msg410350
resolution: duplicate
stage: needs patch -> resolved
2022-01-11 20:43:28christian.heimessetnosy: + christian.heimes, pablogsal
priority: normal -> release blocker
dependencies: + _Py_stat and _Py_wstat using incorrect type for status argument
type: behavior
stage: needs patch
2022-01-11 20:05:53steve.dowersetnosy: + vstinner
messages: + msg410325
2022-01-11 18:31:57gvanrossumcreate