[previous] 0657 [next] [C] Unnamed parameter specified in function definition.
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 */

}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents