Repository navigation
Closed
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Description
Example on GHA Windows / Build and test (Win32, switch-case): https://github.com/python/cpython/actions/runs/42495002560/job/128775403307
Modules\_remote_debugging\object_reading.c(282,69): warning C4244: 'initializing': conversion from 'uint64_t' to 'Py_ssize_t', possible loss of data
Modules\_remote_debugging\gc_stats.c(92,9): warning C4244: 'initializing': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\frames.c(468,32): warning C4244: 'function': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\frames.c(489,33): warning C4244: 'function': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\frames.c(500,32): warning C4244: 'function': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\threads.c(450,29): warning C4244: 'initializing': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\threads.c(452,50): warning C4244: 'initializing': conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(368,41): warning C4244: 'function': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(379,27): warning C4244: 'initializing': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(414,41): warning C4244: 'function': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(426,27): warning C4244: 'initializing': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(697,64): warning C4244: '=': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(874,31): warning C4244: '=': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(919,31): warning C4244: '=': conversion from 'uint64_t' to 'size_t', possible loss of data
Modules\_remote_debugging\binary_io_reader.c(1265,55): warning C4018: '<': signed/unsigned mismatch
Modules\_uuidmodule.c(302,50): warning C4244: 'initializing': conversion from 'uint64_t' to 'Py_ssize_t', possible loss of data
I'm working on a fix.
Linked PRs
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Activity
[-]Buildind Python in 32-bit mode on Windows emits multiple compiler warnings[/-][+]Building Python in 32-bit mode on Windows emits multiple compiler warnings[/+]pythongh-161625: Fix compiler warning in _uuid
pythongh-161625: Fix compiler warning in _uuid
gh-161625: Fix compiler warning in _uuid (#161628)
gh-161625: Fix compiler warnings in _remote_debugging (#161626)
gh-161625: Fix compiler warnings in 32-bit mode (#161631)
[3.15] gh-161625: Fix compiler warnings in _remote_debugging (GH-161626…