The example in reply #2 which forces the enum to use the specified data type works with later versions of the IDE that support C++11
The example in reply #2 which forces the enum to use the specified data type works with later versions of the IDE that support C++11