8.199 --wchar, --no_wchar

Permits or forbids the use of wchar_t.

It does not necessarily fault declarations, providing they are unused.

Usage

Use this option to create an object file that is independent of wchar_t size.

Restrictions

If --no_wchar is specified:

  • wchar_t fields in structure declarations are faulted by the compiler, regardless of whether or not the structure is used.

  • wchar_t in a typedef is faulted by the compiler, regardless of whether or not the typedef is used.

Default

The default is --wchar.

Related reference
8.200 --wchar16
8.201 --wchar32
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.