[Bug c/109835] -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 12:48:33 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109835

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Florian Weimer from comment #1)
> Presumably the idea is to enable -Werror=incompatible-function-pointer-types
> (in spirit) because it is more severe than -Wincompatible-pointer-types?

Note that certain versions of clang (haven't narrowed down which specifically
yet) do this by default now


More information about the Gcc-bugs mailing list