baoshi / CubeMX2Makefile

STM32CubeMX project to Makefile converter
152 stars 52 forks source link

warning: xxx differ in signedness [-Wpointer-sign] #21

Open innomatica opened 7 years ago

innomatica commented 7 years ago

For some reason, Cube uses unsigned char which creates warning since the compiler option -Wall implies -Wpointer-sign.

Solution is to add -Wno-pointer-sign at the end of CFLAGS in the template file (CubeMX2Makefile.tpl).