[previous] 0623 [next] [U] '%s' has incomplete type and no linkage - this is undefined.
Explicitly undefined REFERENCE - ISO:C90-6.5 Declarations - Semantics

An object with no linkage is being defined with an incomplete type. This is meaningless. An object can never be defined if its size is unknown.

For example:


/*PRQA S 2017,3205,3408,3684 ++*/

extern void foo(void)
{
    int buf[];                        /* Message 0623 */
}

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