[previous] 3239 [next] [U] inline function '%1s' has external linkage, but is not defined within this translation unit.
Explicitly undefined REFERENCE - ISO:C99-6.7.4 Function specifiers - Semantics

An inline function is being declared but no definition has been found for it within this translation unit. Behaviour will be undefined.

For example:


/*PRQA S 1055,2017,3120,3210,3408 ++*/

inline int fin(int a, int b);                  /* 3239 */


extern int foo(int r)
{
    r = r + fin(1, 2);

    return r;
}

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