Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

funsigned-char, J

Sets the default character type to unsigned.

Syntax

Linux:

-funsigned-char

Windows:

/J

Arguments

None

Default

OFF

The default character type is signed.

Description

This option sets the default character type to unsigned. This option has no effect on character values that are explicitly declared signed. This option sets _CHAR_UNSIGNED = 1.

IDE Equivalent

Visual Studio: Language > Default Char Unsigned

Eclipse: Data > Change default char type to unsigned

Alternate Options

None