RAD Studio |  |

E2546: Redeclaration of enum is not identical (C++)

This error occurs if:

- a re-declaration of an enum has a different underlying type
- a scoped enum is re-declared as an unscoped enum
- an unscoped enum is re-declared as a scoped enum

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!