Intel® C++ Compiler XE 13.1 User and Reference Guides

fshort-enums

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

IDE Equivalent

Windows: None

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

OS X: Data > Allocate enumerated types

Architectures

All

Syntax

Linux and OS X:

-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.

Alternate Options

None


Submit feedback on this help topic