| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
| |
test_c[pp]ext tests (GH-130692)
Disable pedantic check for c++03 (unlimited API)
Also add a check for c++03 *limited* API, which passes in pedantic mode
after removing a comma in the `PySendResult` declaration, and allowing
`long long`.
|
|
|
|
|
| |
to GCC/clang test_c[pp]ext tests (GH-130686)" (GH-130688)
This reverts commit 003e6d2b9776c07147a9c628eb028fd2ac3f0008.
|
|
|
|
| |
test_c[pp]ext tests (GH-130686)
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fix test_cppext when the C compiler command has the "-std=c11" option.
Remove "-std=" options from the compiler command.
|
|
* Move test_cppext to its own directory
* Rename setup_testcppext.py to setup.py
* Rename _testcppext.cpp to extension.cpp
* The source (extension.cpp) is now also copied by the test.
|