![]() |
![]() |
0657 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.7.1 Function Definitions - Constraints | ||||||
This is a constraint error In the definition of a function, a parameter has been specified with a type but no name. Parameter names can be omitted in the declaration of a function but not when the function is defined. For example:
/*PRQA S 1335,3210,3408,3447 ++*/
extern void f1(int); /* OK - parameter names not necessary in a function declaration */
void f2(int)
{ /* Message 0657 */
}
MISRA C:2012 Rules applicable to message 0657:
| 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 |