Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

fpack-struct

Specifies that structure members should be packed together.

Syntax

Linux:

-fpack-struct

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