RAD Studio |  |

W8098: Multi-character character constant (C++)

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

Copy Code

    int foo = 'abcd';

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

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!