[previous] 0659 [next] [C] The identifier '%s' was not given in the parameter list.
Constraint violations REFERENCE - ISO:C90-6.7.1 Function Definitions - Constraints

This is a constraint error

This old style function definition is invalid. A parameter has been declared which is not in the "parameter-list".

For example:


/*PRQA S 1304,3002,3206,3408,3625 ++*/

int foo(a)             /* Function has a single parameter - "a"     */
int a;
char b;                /* Message 0659 - where did "b" come from ?! */
{
    return 1;
}

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