Message317826
There are still quite a few similar warnings on git-master. Do they indicate the same problem or should I open new issues?
For example:
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -I. -I./Include -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
In file included from Objects/bytearrayobject.c:96:
Objects/clinic/bytearrayobject.c.h:677:23: warning: cast between incompatible function types from ‘PyObject * (*)(PyByteArrayObject *, PyObject * const*, Py_ssize_t)’ {aka ‘struct _object * (*)(struct <anonymous> *, struct _object * const*, long int)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
{"__reduce_ex__", (PyCFunction)bytearray_reduce_ex, METH_FASTCALL, bytearray_reduce_ex__doc__},
^
Objects/bytearrayobject.c:2136:5: note: in expansion of macro ‘BYTEARRAY_REDUCE_EX_METHODDEF’
BYTEARRAY_REDUCE_EX_METHODDEF
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using GCC 8.1.0 on Arch Linux. |
|
Date |
User |
Action |
Args |
2018-05-28 07:12:54 | yan12125 | set | recipients:
+ yan12125, vstinner, pmpp, xdegaye, martin.panter, serhiy.storchaka, ztane, eitan.adler, siddhesh, cstratak, miss-islington |
2018-05-28 07:12:54 | yan12125 | set | messageid: <1527491574.49.0.682650639539.issue33012@psf.upfronthosting.co.za> |
2018-05-28 07:12:54 | yan12125 | link | issue33012 messages |
2018-05-28 07:12:54 | yan12125 | create | |
|