https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87515
--- Comment #2 from Jakub Drnec <jaydee at email dot cz> --- Ok, will use -Werror=return-type , thanks. Looking at the discussion in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943 this really is not legal code, I merely wasn't expecting the nasal demons to be this vigorous.