Main Content
AUTOSAR C++14 Rule A18-0-3
The library <clocale> (locale.h) and the setlocale function shall not be used
Description
Rule Definition
The library <clocale> (locale.h) and the setlocale function shall not be used.
Polyspace Implementation
setlocale
and localeconv
should not be used as
a macro or a global with external "C" linkage.
Troubleshooting
If you expect a rule violation but Polyspace® does not report it, see Diagnose Why Coding Standard Violations Do Not Appear as Expected.
Check Information
Group: Language Support Library |
Category: Required, Automated |
Version History
Introduced in R2019a