Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

More than thousand 'Py_DEBUG': macro redefinition warnings for Windows debug builds on 3.14 branch #134774

Closed
Labels
3.14bugs and security fixesOS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@chris-eibl

Description

@chris-eibl

Bug report

Bug description:

Since PR#134211 / issue#133779 was packported to 3.14, Windows debug builds show more than thousand such warnings:

pyconfig.h(390,16): warning C4005: 'Py_DEBUG': macro redefinition

For example

This stems from

cpython/PC/pyconfig.h

Lines 97 to 100 inb6e624a

/* _DEBUG implies Py_DEBUG */
#ifdef_DEBUG
# definePy_DEBUG 1
#endif

which got added in the above PR, but rather belong to PR#131944 / issue#131942, which did not get backported, and should just be deleted.

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesOS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp