You copied the Doc URL to your clipboard.

--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.

Was this page helpful? Yes No