[previous] MISRA C:2012  Rule-7.3:  (Required) [next] The lowercase character "l" shall not be used in a literal suffix

Example Code:


#include "misra.h"
#include "m3cmex.h"

extern int16_t rule_0703( void )
{
   u32a  = 123lu;                 /* 1280 */
   f128a = 12.34l;                /* 1280 */

   return 0;
}


QAC messages that encompass this guideline:

1280 A lowercase letter L (l) has been used in an integer or floating suffix.



(c) The Motor Industry Research Association, 2012
QA C Source Code Analyser 8.1.2
MISRA C:2012 Compliance Module 1.0
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents