Fixed by https://github.com/danmar/cppcheck/commit/3740c571600b14ef55d512ee71275a3265709aaa Nice
yes, I can attempt some debug when I'll have some time. Thanks for the hints on where to look.
It triggers in this case: #ifdef X #define LED_BLUE 6 #else #define LED_BLUE -1 #endif Macro identifiers shall be distinct
I think the inline suppress for MISRA rules isn't working. Is it? Not finding a way to have a given MISRA rule to be suppressed on a given code line. Im' on https://github.com/danmar/cppcheck/commit/862c4ef87b109ae86c2d5f12769b7c8d199f35c5