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

From RAD Studio
Jump to: navigation, search

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

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.