Skip to content

Check for compiler warnings in test_cext on Windows#121088

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:test_cext
Jun 28, 2024
Merged

Check for compiler warnings in test_cext on Windows#121088
vstinner merged 1 commit intopython:mainfrom
vstinner:test_cext

Conversation

@vstinner
Copy link
Member

On Windows, test_cext and test_cppext now pass /WX flag to the MSC compiler to treat all compiler warnings as errors. In verbose mode, these tests now log the compiler commands to help debugging.

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

Loading
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.

2 participants