[previous] 2011 [next] The 'register' storage class specifier has been used.
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:2012 Rules applicable to message 2011


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents