Is it possible to mark an enum value as deprecated?
e.g.
enum MyEnum { firstvalue = 0 secondvalue, thirdvalue, // deprecated fourthva
Using compiler dependent pragmas: Here is the documentation for Gcc and Visual Studio.