![]() |
![]() |
3628 | ![]() |
||||
![]() | |||||||
| Constants | |||||||
An octal escape sequence has been used in a character constant or a string literal. For example:
/*PRQA S 1305,2017,3123,3211,3408,3602,3625 ++*/
const char cha = '\015'; /* Message 3628 */
const char *pc1 = "abc\015\012"; /* Message 3628 and 3628 */
MISRA-C:2004 Rules applicable to message 3628:
| Rule 7.1 (Required) | Octal constants (other than zero) and octal escape sequences shall not be used. |
![]() | ||
| 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 |