...
Character types should be chosen and used in accordance with guideline recommendation STR04-C. Use plain char for characters in the basic character set.
...
STR09-EX1: Consecutive values for characters like a~z
can be assumed on platforms where ASCII or Unicode is used. This guideline recommendation is primarily concerned with platform portability, for example, if code is migrated from ASCII systems to non-ASCII systems.
...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
STR09-C | low | unlikely | low | P3 | L3 |
Related Guidelines
CERT C++ Secure Coding Standard: STR07-CPP. Don't assume numeric values for expressions with type plain character
...