RAD Studio
ContentsIndex
PreviousUpNext
W8098: Multi-character character constant

This warning is issued when the compiler detects a multi-character integer constant, such as:

int foo = 'abcd';

The problem with this construct is that the byte order of the characters is implementation dependent.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!