After writing the above I did find the setting for C-standard in the GUI. However, the problem still remains.
After writing the above I did find the setting fro C-standard in the GUI. However, the problem still remains.
For my c11 project I get false positives on MISRA 10.3 (The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category) when assigning true or false to a boolean variable. I suppose this is because stdbool.h defines: #define true 1 #define false 0 Which makes true and false essentially signed integers. Here some example code: #include <stdbool.h> bool dummy_func(int val) { bool my_bool; if (val > 10) { my_bool = true; // Triggers...