Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

fshort-enums

Tells the compiler to allocate as many bytes as needed for enumerated types.

Syntax

Linux:

-fshort-enums

Windows:

None

Arguments

None

Default

OFF

The compiler allocates a default number of bytes for enumerated types.

Description

This option tells the compiler to allocate as many bytes as needed for enumerated types.

IDE Equivalent

Visual Studio: None

Eclipse: Data > Associate as Many Bytes as Needed for Enumerated Types

Alternate Options

None