E2545 Enum underlying type must be an integral (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

Ensure that the underlying type of the enumeration is an integral type.

The underlying type of a scoped enum is fixed to int unless explicitly provided by the user. The underlying type of a 'classic' enum remains unspecified unless fixed by the user.

For more information, see Strongly Typed Enums.