FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-127906: Fix Py_BUILD_ASSERT_EXPR() on Windows by vstinner · Pull Request #127994 · python/cpython · GitHub

Repository navigation

[3.13] gh-127906: Fix Py_BUILD_ASSERT_EXPR() on Windows - #127994

Merged
vstinner merged 1 commit into
python:3.13from
vstinner:build_assert_expr13
Dec 16, 2024
Merged

vstinner merged 1 commit into
python:3.13from
vstinner:build_assert_expr13

Conversation

vstinner commented Dec 16, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Change Py_BUILD_ASSERT_EXPR implementation on Windows to avoid a compiler warning about an unnamed structure.

Change Py_BUILD_ASSERT_EXPR implementation on Windows to avoid a
compiler warning about an unnamed structure.

vstinner commented Dec 16, 2024 •
edited
Loading

Copy link
Copy Markdown
Member Author

Fix the following test_cext warning treated as an error:

  extension.c(56): error C2220: the following warning is treated as an error
  extension.c(56): warning C4116: unnamed type definition in parentheses

Copy link
Copy Markdown
Member Author

I tested locally that this change fix python -m test test_cext -m test_build -v -u all -m test_build_c11.

vstinner enabled auto-merge (squash) December 16, 2024 17:15

Copy link
Copy Markdown
Member Author

Python 3.12 is not impacted. The main branch already contains the fix.

vstinner merged commit 8e143b2 into python:3.13 Dec 16, 2024
vstinner deleted the build_assert_expr13 branch December 16, 2024 17:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL