Is it possible to mark an enum value as deprecated?
e.g.
enum MyEnum { firstvalue = 0 secondvalue, thirdvalue, // deprecated fourthva
Beginning with GCC 6 you can simply deprecate enums:
enum { newval, oldval __attribute__ ((deprecated ("too old"))) };
Source: https://gcc.gnu.org/gcc-6/changes.html