I've an error 10.1 on the following C code:
Code: Select all
#define MyConst 0x8A
My Code Review checker asks to add a U to the constant.
I'm quite surprised if it was a decimal value, I'll understand it but for an hexa, I don't really understand why ?
Another question is to know if a test set is present on the MISRA community to check the correct behaviour of the Code Review tool.
By advance thanks for your help.