[previous] 0284 [next] [I] Multiple character constants have implementation defined values.
Implementation defined REFERENCE - ISO:C90-6.1.3.4 Character Constants - Semantics

The mapping of a multi-byte character constant on to a member of the execution character set is implementation-defined and therefore not portable as the differences in machine architecture can affect the value or byte order of the character sequence.

For example:


/*PRQA S 0753,2017,3123,3211,3408,3410,3429,3453 ++*/

#include <stddef.h>

wchar_t wc = L'ab';                /* Message 0284 and 0878 */

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents