-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Remove check for stdarg.h (HAVE_STDARG_PROTOTYPES) in configure.ac #93207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you want to propose a PR for that? |
Created PR #93215 |
kumaraditya303
added a commit
to kumaraditya303/cpython
that referenced
this issue
May 27, 2022
vstinner
pushed a commit
that referenced
this issue
May 27, 2022
As pointed out in cython/cython#4820, this may change in the future: |
Bit late, but JFYI, this paper got accepted into C23. Edit: sorry for the double-post; GH bugging with server errors here... |
arkamar
added a commit
to arkamar/immutables
that referenced
this issue
May 29, 2023
The HAVE_STDARG_PROTOTYPES macro was removed in Python 3.12 [1,2] and va_start with two arguments is always expected. Therefore, Python version is newly checked as well and va_start with 2 arguments is selected for python version greater or equal to 3.12. [1] python/cpython@cb04a09 [2] python/cpython#93207
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CPython checks for
stdarg.h
asHAVE_STDARG_PROTOTYPES
1 at some places 2 but not at other places 3. Either this check should be repeated at every call site or should be removed all together, most compilers supports this nowadays (should be verified with buildbots).cc @vstinner @tiran @erlend-aasland
Footnotes
https://github.com/python/cpython/blob/16a7e4a0b75080275bf12cfb71d54b01d85099b2/configure.ac#L5026 ↩
https://github.com/python/cpython/blob/16a7e4a0b75080275bf12cfb71d54b01d85099b2/Modules/_asynciomodule.c#L2646 ↩
https://github.com/python/cpython/blob/16a7e4a0b75080275bf12cfb71d54b01d85099b2/Objects/call.c#L557 ↩
The text was updated successfully, but these errors were encountered: