8.201 --wchar32

Changes the type of wchar_t to unsigned int.

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, or unless you specify an ARM Linux configuration file on the command line. Specifying an ARM Linux configuration file on the command line turns --wchar32 on.

Related reference
10.155 Predefined macros
8.200 --wchar16
8.199 --wchar, --no_wchar
8.92 --gnu_defaults
8.10 --arm_linux_configure
8.9 --arm_linux_config_file=path
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.