MISRA Discussion Forums

Full Version: MISRA: Code Design (MISRA C-2012 Directive 4.6)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.
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.