mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)
Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code.
This commit is contained in:
parent
81524022d0
commit
62be74290a
38 changed files with 174 additions and 174 deletions
|
@ -648,7 +648,7 @@ static PyMethodDef PyContext_methods[] = {
|
|||
_CONTEXTVARS_CONTEXT_KEYS_METHODDEF
|
||||
_CONTEXTVARS_CONTEXT_VALUES_METHODDEF
|
||||
_CONTEXTVARS_CONTEXT_COPY_METHODDEF
|
||||
{"run", (PyCFunction)context_run, METH_FASTCALL | METH_KEYWORDS, NULL},
|
||||
{"run", (PyCFunction)(void(*)(void))context_run, METH_FASTCALL | METH_KEYWORDS, NULL},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue