![]() |
|
MISRA-C:2004 Rule 8.2: (Required) |
|
||||
![]() | |||||||
externx;/* Non-compliant - implicit int type */externint16_t x;/* Compliant - explicit type */consty;/* Non-compliant - implicit int type */constint16_t y;/* Compliant - explicit type */staticfoo(void);/* Non-compliant - implicit type */staticint16_t foo(void);/* Compliant - explicit type */
QAC messages that encompass this guideline:
| 2050 | The 'int' type specifier has been omitted from a function declaration. |
| 2051 | The 'int' type specifier has been omitted from an object declaration. |
|
||
(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 |