GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — GH-93207: Remove configure check for stdarg.h (HAVE_STDARG_PROTOTYPES) by kumaraditya303 · Pull Request #93215 · python/cpython Conversation
|
|
AC changes look good, but I would try to investigate further which compilers/build environments this will affect (if any); buildbots do not cover everything. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It is unlikely as there is already code which uses variadic args and does not checks for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @kumaraditya303 for commit c9a6cc4 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So far all buildbots passed, I added a news item. cc @vstinner |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@erlend-aasland: /workspaces/cpython/Modules/_asynciomodule.c:2646:19: error: macro "va_start" requires 2 arguments, but only 1 given 2646 | va_start(vargs); | ^ Footnotes |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Many files already call va_start() with 2 arguments: Objects/call.c, PC/launcher.c and PC/launcher2.c, Parser/pegen_errors.c, etc. (Without testing if the HAVE_STDARG_PROTOTYPES macro is defined.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Please remove also this line from PC/pyconfig.h: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merged, thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This broke cython which appears to have been relying on HAVE_STDARG_PROTOTYPES to be defined by CPython. I am going to open a PR an the cython side to always go with the 2 argument version. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* MNT: always require va_start to have two arguments python/cpython#93215 chance CPython to always use the 2-input version of va_start and dropped defining HAVE_STDARG_PROTOTYPES. This resulted in the 1-argument version being used when compiling cython source which fails This makes cython also always use the 2-argument version. * Remove blank line * FIX: version gate 2-argument va_start checking to py311
* MNT: always require va_start to have two arguments python/cpython#93215 chance CPython to always use the 2-input version of va_start and dropped defining HAVE_STDARG_PROTOTYPES. This resulted in the 1-argument version being used when compiling cython source which fails This makes cython also always use the 2-argument version. * Remove blank line * FIX: version gate 2-argument va_start checking to py311
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Remove check for stdarg.h (HAVE_STDARG_PROTOTYPES) in configure.ac
There was an error while loading. Please reload this page.