fpack-struct

Specifies that structure members should be packed together.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -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.

Alternate Options

Linux: -Zp1