| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add an explicit cast to (void*) and add Py_UNUSED() to fix some
warnings in extension.c.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Check the usage of the 'const' qualifier in the Python C API in
test_cext.
|
|
|
|
|
|
| |
Use static_assert() in Py_BUILD_ASSERT() and Py_BUILD_ASSERT_EXPR()
on C11 and newer and C++11 and newer.
Add tests to test_cext and test_cppext.
|
|
|
| |
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
|
|
|
|
| |
Check for warnings, but don't enable the compiler flag
-Werror=declaration-after-statement.
|
|
|
| |
Don't check for warnings on Free Threading.
|
|
|
|
|
| |
Remove -std option from CC command line.
Skip C++14 test for now on non-Windows platforms (like RHEL7).
|
|
|
|
|
|
|
|
|
|
| |
On Windows in release mode, the test_cext and test_cppext can now
build C and C++ extensions.
* test_cext now also builds the C extension without options.
* test_cppext now also builds the C++ extension without options.
* Add C++14 test to test_cppext; C++11 is not supported by MSVC.
* Make setup_venv_with_pip_setuptools_wheel() quiet when
support.verbose is false. Only show stdout and stderr on failure.
|
| |
|
|
|
|
| |
Make sure that the C API does not emit compiler warnings when built
with -Werror=declaration-after-statement.
|
|
|
|
| |
Remove the "if Py_GIL_DISABLED" skip and move all "skip" decorators
to the class. Use support.check_sanitizer()
|
|
|