Synopsis: | The value of an incomplete 'union' must not be used. |
Language: | C |
Severity Level: | 1 |
Category: | EXPRESSIONS |
Description: |
Attempting to use the value of an incomplete 'union' will result in undefined behaviour.
Example: is illegal because the union object 'u' is an incomplete type. Its value is therefore undefined.union common u; ... int x = u; ... |