https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110437
--- Comment #3 from Jan Žižka <jan.zizka at nokia dot com> --- Good thanks for pointer and clarification. Is there some reason this cannot be caught during compile time already? I mean the warning should be an error maybe? It would be much easier to fix in legacy code.