[previous] 0632 [next] [U] Tentative definition of '%s' with internal linkage cannot have unknown size.
Explicitly undefined REFERENCE - ISO:C90-6.7.2 External Object Definitions

This is a tentative definition of an object with internal linkage and incomplete type. This is not permitted.

For example:


/*PRQA S 553,2017,3207,3684 ++*/

static int arr [ ];        /* Message 0632 and also 3337 */


MISRA-C:2004 Rules applicable to message 0632:

Rule  1.2  (Required) No reliance shall be placed on undefined or unspecified behaviour.


See also:

QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index Contents