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: is illegal because the struct object 's' is an incomplete type. Its value is therefore undefined.struct record s; ... int x = s; ... |