Intel® C++ Compiler Classic Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-3D775A7A-95F3-438B-AFBF-45FB11E7D7CC
Visible to Intel only — GUID: GUID-3D775A7A-95F3-438B-AFBF-45FB11E7D7CC
fshort-enums
Tells the compiler to allocate as many bytes as needed for enumerated types.
Syntax
Linux: |
-fshort-enums |
macOS: |
-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
Xcode: Data > Allocate enumerated types
Alternate Options
None