[previous] 0554 [next] [C] 'static %s()' has been declared and called but no definition has been given.
Constraint violations REFERENCE - ISO:C90-6.7 External Definitions - Constraints

This is a constraint error

This function with internal linkage has been declared and subsequently called, but there is no corresponding definition. For example:


/*PRQA S 3408 ++*/

static void f1(void);          /* Message 0554 - not defined but called       */
static void f2(void);          /* Message 3308 - not defined and never called */


void foo(void)
{
    f1();
}

See also:

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