Skip to content

Build on Windows with --experimental-jit-interpreter will emit warnings #137136

@aisk

Description

@aisk

Bug report

Bug description:

C:\Users\xxxxx\Source\cpython\Python\optimizer_analysis.c(648,39): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data [C:\Users\xxxxx\Source\cpython\PCbuild\pythoncore.vcxproj]
C:\Users\xxxxx\Source\cpython\Python\executor_cases.c.h(1235,26): warning C4244: '=': conversion from 'const uint64_t' to 'int', possible loss of data [C:\Users\xxxxx\Source\cpython\PCbuild\pythoncore.vcxproj]
C:\Users\xxxxx\Source\cpython\Python\executor_cases.c.h(7124,24): warning C4477: 'printf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type '__int64' [C:\Users\xxxxx\Source\cpython\PCbuild\pythoncore.vcxproj]
C:\Users\xxxxx\Source\cpython\Python\optimizer_symbols.c(366,82): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\Users\xxxxx\Source\cpython\PCbuild\pythoncore.vcxproj]
C:\Users\xxxxx\Source\cpython\Python\optimizer_symbols.c(693,20): warning C4244: 'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\Users\xxxxx\Source\cpython\PCbuild\pythoncore.vcxproj]

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildtopic-JITtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy