# 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

Parent topic: Data Options