libmpsse
libmpsse copied to clipboard
compilation warnings
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -c -DLIBFTDI1=0 mpsse_wrap.c -I/usr/include/python3.4
mpsse_wrap.c: In function ‘_wrap_Read’:
mpsse_wrap.c:6935:5: warning: implicit declaration of function ‘PyString_FromStringAndSize’ [-Wimplicit-function-declaration]
resultobj = PyString_FromStringAndSize((&result)->data, (&result)->size);
^
mpsse_wrap.c:6935:15: warning: assignment makes pointer from integer without a cast
resultobj = PyString_FromStringAndSize((&result)->data, (&result)->size);
^
mpsse_wrap.c: In function ‘_wrap_Transfer’:
mpsse_wrap.c:6973:15: warning: assignment makes pointer from integer without a cast
resultobj = PyString_FromStringAndSize((&result)->data, (&result)->size);
^