#gotchas

This error/warning is caused by C++ enum class values which aren’t using uint8.

Typically can be fixed by simply adding the necessary specifier:

//bad
enum class EMyEnum
{ ... }
 
//good, has uint8
enum class EMyEnum : uint8
{ ... }