Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Example for rule 11.1
#1
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?
Reply
#2
The line is correct and the misra checker is wrong to report a violation of this rule.
<t>Graham Andrews<br/>
Edinburgh Design Centre<br/>
Analog Devices Inc</t>
Reply
#3
Line 31:
Code:
pif32 int32p_fun = &get_int32;
This line is correct and contains no violation.
Posted by and on behalf of the MISRA C Working Group
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)