we should have `-Wstrict-prototypes`
fenugrec opened this issue · 2 comments
fenugrec commented
and/or enable an optional cppcheck pass at compile-time
ReXT3D commented
FWIW, the current codebase produces only one warning (per board) with -Wstrict-prototypes
enabled:
/home/pi/candleLight_fw/src/interrupts.c:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
typedef void(*pFunc)();
^~~~~~~