Intel® oneAPI DPC++/C++ Compiler

Developer Guide and Reference

ID 767253
Date 6/30/2025
Public

Visible to Intel only — GUID: GUID-FB90941F-B5AB-49FA-B5DE-91E7A7E47B32

Document Table of Contents

fpack-struct

Specifies that structure members should be packed together.

Syntax

Linux:

-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: -Zp1

Windows: None