Intel® C++ Compiler 19.0 Developer Guide and Reference

fpack-struct

Specifies that structure members should be packed together.

Syntax

Linux and macOS:

-fpack-struct

Windows:

None

Arguments

None

Default

OFF

Description

Specifies that structure members should be packed together.

Note

Using this option may result in code that is not usable with standard (system) c and C++ libraries.

IDE Equivalent

None

Alternate Options

Linux and macOS*: -Zp1

Windows: None