2020-06-30 12:47:33 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
include::../noncompliant.adoc[]
|
|
|
|
|
|
|
|
include::../compliant.adoc[]
|
|
|
|
|
|
|
|
== See
|
|
|
|
|
|
|
|
* MISRA C:2004, 7.1 - Octal constants (other than zero) and octal escape sequences shall not be used.
|
|
|
|
* MISRA C++:2008, 2-13-2 - Octal constants (other than zero) and octal escape sequences (other than "\0") shall not be used
|
|
|
|
* MISRA C:2012, 7.1 - Octal constants shall not be used
|
2020-12-21 15:38:52 +01:00
|
|
|
* https://wiki.sei.cmu.edu/confluence/x/atYxBQ[CERT, DCL18-C.] - Do not begin integer constants with 0 when specifying a decimal value
|
|
|
|
* https://wiki.sei.cmu.edu/confluence/x/7DZGBQ[CERT, DCL50-J.] - Use visually distinct identifiers
|