| Syntax: | Default: |
| lang(signedBitfields[, yes]) lang(signedBitfields, no) |
lang(signedBitfields, no) |
This option determines whether plain non-char bitfields are signed or unsigned.
By default, plain non-char bitfields are treated as unsigned.
This option affects plain long long, plain long, plain int and
plain short bitfields, but not plain char bitfields. The lang(signedChars) option controls whether
plain chars are signed or unsigned.
For example, this option affects only j in the declaration below
because j is not implicitly signed or unsigned:
struct S {
signed int i:1;
int j:1;
unsigned int k:1;
};
![]()
Incremental C++ Build
C Compilation
Configuration Files
![]()
Language Options for C++
Language Options for C
Build Options
Format of Structures
Containing Bit Fields
Format of Structures
Containing Bit Fields
