![]() |
|
MISRA-C:2004 Rule 18.1: (Required) |
|
||||
![]() | |||||||
structtnode*pt;/* tnode is incomplete at this point */structtnode{intcount;structtnode*left;structtnode*right;};/* type tnode is now complete */
QAC messages that encompass this guideline:
| 0544 | [U] The value of an incomplete 'union' may not be used. |
| 0545 | [U] The value of an incomplete 'struct' may not be used. |
| 0623 | [U] '%s' has incomplete type and no linkage - this is undefined. |
| 0636 | [U] There are no named members in this 'struct' or 'union'. |
Related rules:
| Rule 1.2 | No reliance shall be placed on undefined or unspecified behaviour. |
|
||
(c) The Motor Industry Research Association, 2004
|
QA C Source Code Analyser 8.1.2
MISRA-C:2004 Compliance Module 3.2 © 2013 Programming Research www.programmingresearch.com |
Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |