I'm trying to make a reusable error code system for all my programs. I have a list of errors of various kind (programming, application specific,...). I have a function like that :

ERROR_ID ERROR(errorCode);

That i overload for each library/application specific error code type, that returns me an error code contained in my error enum called ERROR_ID.

In order for this to work with tinyxml, i would need the return code enum to be named (with a typedef or not). Would that be possible in future versions?

Thanks