26-05-2016, 04:47 PM
I have recently had a dialogue with the support at Programming Research, since we use their QA-C static analysis tool with the MISRA-C:2012 add-on. My example:
extern unsigned int getShift(void);
const unsigned int shift = getShift();
const unsigned int multiplier = 1u
extern unsigned int getShift(void);
const unsigned int shift = getShift();
const unsigned int multiplier = 1u
<t></t>