signedChars Language Option

Syntax: Default:
lang(signedChars[, yes])
lang(signedChars, no)
lang(signedChars, no)

This option determines whether char variables in your C or C++ source are treated as signed or unsigned char in arithmetic and compare operations. It does not convert the type of a char to a signed char or an unsigned char.

By default, char variables are treated as unsigned char.

Set signedChars to yes to treat a char as a signed char.

The lang(signedBitfields) option controls whether non-char bitfields types are treated as signed or unsigned.

You can also specify whether chars are signed or unsigned by using #pragma chars in your source. The pragma overrides this option.



Incremental C++ Builds
C Compilation
Configuration Files


Set Build Options
Build


Language Options for C++
Language Options for C
Build Options