RAD Studio
ContentsIndex
PreviousUpNext
E2545: Enum underlying type must be an integral (C++)

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!