Use DeviceAttribute with C-style enum
We use a public traits CheckEnumCompatibleType that reject C-style enum: https://gitlab.com/tango-controls/cppTango/-/blob/main/src/include/tango/client/devapi_attr_templ.h?ref_type=heads#L31 Even though the error message says it should work, it doesn't. A fix could be provided to help in #1574
issue