C1014: Integral type expected or enum value out of range

[ERROR]

Description

A non-integral value was assigned to a member of an enum or the enumeration value does not fit into the size specified for the enum (in ANSI-C the enumeration type is int).

Example
  enum E {

  
    F="Hello"

  
  };

  
Tips

Enum-members may only get int-values.