x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=core2 -DNDEBUG -fPIC -I/usr/include/python3.11 -c source/decoder.c -o build/temp.linux-x86_64-cpython-311/source/decoder.o -std=c99 -D_GNU_SOURCE
source/decoder.c: In function ‘decode_bytestring’:
source/decoder.c:605:33: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
605 | sprintf(length_hex, "%llX", length);
| ~~~^ ~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lX
source/decoder.c: In function ‘decode_string’:
source/decoder.c:706:33: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
706 | sprintf(length_hex, "%llX", length);
| ~~~^ ~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lX
source/decoder.c: In function ‘decode_array’:
source/decoder.c:863:33: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
863 | sprintf(length_hex, "%llX", length);
| ~~~^ ~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lX
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=core2 -DNDEBUG -fPIC -I/usr/include/python3.11 -c source/encoder.c -o build/temp.linux-x86_64-cpython-311/source/encoder.o -std=c99 -D_GNU_SOURCE
source/encoder.c: In function ‘CBOREncoder_init’:
source/encoder.c:187:36: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyTypeObject *’ {aka
‘struct _typeobject *’} [-Wincompatible-pointer-types]
187 | PyObject *datetime_class = PyDateTimeAPI->DateType;
| ^~~~~~~~~~~~~
Building from Gentoo ebuild https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/cbor2/cbor2-5.4.6.ebuild
gcc 12.2.1