[New-bugs-announce] [issue43499] Compiler warnings in building Python 3.9 on Windows

Serhiy Storchaka report at bugs.python.org
Mon Mar 15 08:12:03 EDT 2021


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

Currently building Python 3.9 on Windows produce many compiler warnings. 3.8 and master are clean.

* Warnings in the _sre module caused by the bug in MSVC (complains about automatic conversion of "void **" to "const void *"). Fixed by backporting PR20508.

* Warnings in many files related to using legacy C API (e.g. PyUnicode_AsUnicode) in Windows specific code.

* ..\Objects\exceptions.c(2313): warning C4098: 'MemoryError_dealloc': 'void' function returning a value

* ..\Objects\frameobject.c(400): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data

The last two may be hidden bugs.

----------
components: Extension Modules, Interpreter Core
messages: 388731
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Compiler warnings in building Python 3.9 on Windows
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43499>
_______________________________________


More information about the New-bugs-announce mailing list