Hi, I'm mainly leaving this patch here to discuss what to do about it. Clang complains because of -Wxor-used-as-pow. So of course one possibility is to use -Wno-xor-used-as-pow. It also prints '0x2 ^ NO_RESIZING' as an alternative to silence the warning. Given the comment just above the changed line, I think the 0x2 version is better than what I have in the patch now, since it still uses NO_RESIZING. But I'm open for suggestions on how to keep the code as clear as possible.
Thanks, Timm