TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

SR:  7.2#4Checked automatically with code checker

Synopsis:The value of an incomplete 'struct' must not be used.
Language:C
Severity Level:1
Category:EXPRESSIONS


Description:
Attempting to use the value of an incomplete 'struct' will result in undefined behaviour.

Example:

struct record s;
...
int x = s;
...
is illegal because the struct object 's' is an incomplete type. Its value is therefore undefined.