### /J Compiler Option

Syntax: | Default:
/J[+|-] | /J+

Use /J- to treat unspecified char variables as signed char, for arithmetic and compare operations.

This option does not change the definition of the variable. In C++, char, signed char, and unsigned char are three distinct types. Unspecified char variables are considered signed char or unsigned char for arithmetic and compare operations only. You cannot convert one type to another type without casting.

By default (/J[+]), unspecified char variables are treated as unsigned char.

Summary of Compiler Options