[previous] 0286 [next] [I] String literal contains character which is not a member of the basic source character set.
Implementation defined REFERENCE - ISO:C90-5.2.1 Character Sets

This string literal includes a character which is not a member of the basic source character set. The interpretation of this character will be implementation-defined.

For example:


/*PRQA S 1305,2017,3211,3408,3602,3625 ++*/

const char *p1 = "A dollar sign ($)";        /* Message 0286 */
const char *p2 = "fred@universe.com";        /* Message 0286 */
const char *p3 = "A back tick: `";           /* Message 0286 */


MISRA C:2012 Rules applicable to message 0286:

Dir-1.1  (Required) Any implementation-defined behaviour on which the output of the program depends shall be documented and understood


See also:

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