Wim, I have submitted a patch extending the behavior of G__param_match() in cint to perform additional checks for enums so that the enum tags are compared. Because cint has the nasty habit of pretending that enums are ints additional checks are necessary. Fortunately the enum-ness is hidden but not erased, so a real check for equality is still possible. The patch will probably end up in the root trunk later today or tomorrow.
The patch is in the trunk. Once you verify it improves things (or if you it is better for you to test), I will also upload it on the patch branch for 5.18