Skip to content

[6.36] fix: remove Py_single_input macro redefinition in PyMethodBase.h#21414

Merged
guitargeek merged 1 commit intoroot-project:v6-36-00-patchesfrom
root-project-bot:BP_6.36_pull_21408
Feb 27, 2026
Merged

[6.36] fix: remove Py_single_input macro redefinition in PyMethodBase.h#21414
guitargeek merged 1 commit intoroot-project:v6-36-00-patchesfrom
root-project-bot:BP_6.36_pull_21408

Conversation

@root-project-bot
Copy link

Backport of #21408, requested by @guitargeek. For your information @chrisburr

Remove the `#define Py_single_input 256` from the public header to
avoid a `-Wmacro-redefined` warning when CPython's compile.h is
included after the precompiled header already defines the macro.
The default argument now uses the literal value with a comment.

(cherry picked from commit 567ae36)
@guitargeek guitargeek merged commit 40f13c4 into root-project:v6-36-00-patches Feb 27, 2026
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants