![]() |
![]() |
3606 | ![]() |
||||
![]() | |||||||
| K+R compatibility | REFERENCE - ISO:C90-6.1.3.2 Integer Constants - Semantics | ||||||
This unsuffixed decimal constant is of type long but would have been treated as an unsigned int in pre-ISO versions of the C language. For example:
/*PRQA S 1255,3120,3211,3408 ++*/
/****************************
* OPTIONS: -s int=16
****************************/
long d1 = 32767; /* */
long d2 = 32768; /* Message 3606 */
long d3 = 32769; /* Message 3606 */
long d4 = 65535; /* Message 3606 */
long d5 = 65536; /* */
No MISRA C:2012 Rules applicable to message 3606
![]() | ||
| 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 |