CubeMX2Makefile icon indicating copy to clipboard operation
CubeMX2Makefile copied to clipboard

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

Open innomatica opened this issue 8 years ago • 0 comments

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).

innomatica avatar Dec 12 '16 01:12 innomatica