Enums errors for GCC