[previous] 3335 [next] No function declaration. Implicit declaration inserted: 'extern int %s();'.
Functions REFERENCE - ISO:C90-6.3.2.2 Function Calls - Semantics

A function is being used for which there is no previous definition or declaration, and so in accordance with the ISO:C Standard an implicit declaration is being inserted. It is not good practice to use a function which has not been previously declared.

Message 3335 is functionally equivalent to message 1302.

For example:


/*PRQA S 2017,3210,3205,3408,3447 ++*/

int foo(void)
{
    int r;

    r = func(0);                  /* Messages 3335 and 1302 */

    return r;
}

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