> I'll have a look at your fix. Thanks for the help! I haven't had a chance to test this with gcc 5 or 6 yet though; it may need a bit of further tweaking for those compilers. It will not work with clang (will fail somewhere else with issues which I solved for 2.x but do not want to backport for lack of time).
Cheers, Kasper