![]() |
![]() |
2011 | ![]() |
||||
![]() | |||||||
| Declarations and Definitions | |||||||
This declaration includes the storage-class specifier 'register'. This is a hint to the compiler but it is probably of little value because most modern compilers will perform register optimisation more effectively than a programmer. For example:
/*PRQA S 2017,3205,3408 ++*/
extern void foo(void)
{
register int i; /* Message 2011 */
}
No MISRA-C:2004 Rules applicable to message 2011
See also:
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |