spi.c:197:2: warning: initialization from incompatible pointer type [enabled by default]
spi.c:197:2: warning: (near initialization for ‘SpiMethods[0].ml_meth’) [enabled by default]
What can I do to prevent these warning, are the warnings a big problem?
Hi,
I get 2 warnings when I try to install SPI-PY. I've got a "Raspberry PI B+" board and "Raspbian GNU/Linux 7 (wheezy)".
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c spi.c -o build/temp.linux-armv6l-2.7/spi.o
spi.c:197:2: warning: initialization from incompatible pointer type [enabled by default] spi.c:197:2: warning: (near initialization for ‘SpiMethods[0].ml_meth’) [enabled by default]
What can I do to prevent these warning, are the warnings a big problem?
Thank you in advance!