MISRA Discussion Forums

Full Version: Example for rule 11.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I have a question according to the example for the rule 11.1 (mc2_1101.c). My misra checker detects that the line \"pif32 int32p_fun = &get_int32\" violates rule 11.1, but I think this line is correct.
Am I right?
The line is correct and the misra checker is wrong to report a violation of this rule.
Line 31:
Code:
pif32 int32p_fun = &get_int32;
This line is correct and contains no violation.