8.200 --wchar16

Changes the type of wchar_t to unsigned short.

Selecting this option modifies both the type of the defined type wchar_t in C and the type of the native type wchar_t in C++. It also affects the values of WCHAR_MIN and WCHAR_MAX.

Default

The compiler assumes --wchar16 unless --wchar32 is explicitly specified.

Related reference
8.199 --wchar, --no_wchar
8.201 --wchar32
10.155 Predefined macros
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.