Author vstinner
Recipients cstratak, martin.panter, serhiy.storchaka, siddhesh, vstinner, ztane
Date 2018-04-30.08:02:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525075340.0.0.682650639539.issue33012@psf.upfronthosting.co.za>
In-reply-to
Content
The commit 55edd0c185ad2d895b5d73e47d67049bc156b654 introduced a new warning:

gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -Wstrict-prototypes -O0   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration   -I. -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
Objects/longobject.c:5359:5: warning: initialisation depuis un type pointeur incompatible [-Wincompatible-pointer-types]
     long_long,                  /*nb_int*/
     ^~~~~~~~~
Objects/longobject.c:5359:5: note: (près de l'initialisation de « long_as_number.nb_int »)
Objects/longobject.c:5376:5: warning: initialisation depuis un type pointeur incompatible [-Wincompatible-pointer-types]
     long_long,                  /* nb_index */
     ^~~~~~~~~
Objects/longobject.c:5376:5: note: (près de l'initialisation de « long_as_number.nb_index »)


It seems like a conversion to (unaryfunc) is needed when passing long_long as nb_int in long_as_number.
History
Date User Action Args
2018-04-30 08:02:20vstinnersetrecipients: + vstinner, martin.panter, serhiy.storchaka, ztane, siddhesh, cstratak
2018-04-30 08:02:20vstinnersetmessageid: <1525075340.0.0.682650639539.issue33012@psf.upfronthosting.co.za>
2018-04-30 08:02:19vstinnerlinkissue33012 messages
2018-04-30 08:02:19vstinnercreate