homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yan12125
Recipients cstratak, eitan.adler, martin.panter, miss-islington, pmpp, serhiy.storchaka, siddhesh, vstinner, xdegaye, yan12125, ztane
Date 2018年05月28日.07:12:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527491574.49.0.682650639539.issue33012@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018年05月28日 07:12:54yan12125setrecipients: + yan12125, vstinner, pmpp, xdegaye, martin.panter, serhiy.storchaka, ztane, eitan.adler, siddhesh, cstratak, miss-islington
2018年05月28日 07:12:54yan12125setmessageid: <1527491574.49.0.682650639539.issue33012@psf.upfronthosting.co.za>
2018年05月28日 07:12:54yan12125linkissue33012 messages
2018年05月28日 07:12:54yan12125create

AltStyle によって変換されたページ (->オリジナル) /