[previous] 0427 [next] [C] Object identifier used as if it were a function or a function pointer identifier.
Constraint violations REFERENCE - ISO:C90-6.3.2.2 Function calls

This is a constraint error

This object has been used as if it were a function or a function pointer identifier. For example:


/*PRQA S 3196,3199,3203,3408,3671 ++*/

void foo(void)
{
    int r;
    int name;

    r = name();                 /* Message 0427 */
}


MISRA C:2012 Rules applicable to message 0427:

Rule-1.1  (Required) The program shall contain no violations of the standard C syntax and constraints, and shall not exceed the implementation's translation limits


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents