Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MISRA: Code Design (MISRA C-2012 Directive 4.6)
#1
I have a function with the below prototype
void functionName(void)
{
}
It doesn't use any int data type. Even though it shows the below warning for this code
MISRA: Code Design (MISRA C-2012 Directive 4.6)
1. misra_violation: [Advisory] MISRA C-2012 Directive 4.6 violation: typedefs that indicate size and signedness should be used in place of the basic int numerical type.

Can anyone please help me to resolve this issue?
<t></t>
#2
In the code example shown, there is no violation of directive 4.6.

The MISRA-C working group is unable to make comments about individual tools. We suggest that you contact your tool provider.
Posted by and on behalf of the MISRA C Working Group
#3
misra-c Wrote:The MISRA-C working group is unable to make comments about individual tools.
That is a problem - no tool is certified and the forum is filling with questions from tool vendors themselves.
<t></t>


Forum Jump:


Users browsing this thread: 1 Guest(s)