Skip to main content

IAR Embedded Workbench for RX 5.20

--joined_bitfields

In this section:
Syntax
--joined_bitfields
Description

Use this option to enable the bitfield allocation strategy Joined types. This places bitfield members depending on the byte order. Storage containers of bitfields will overlap other structure members. (By default, the compiler uses the allocation strategy Disjoint types, where bitfield containers of different types do not overlap.)

This option cannot be used together with the option --reversed_bitfields.

See also

Bitfields.

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra Options.