[Bug c/106416] -Wint-conversion should be an error, not a pedwarn

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 31 08:50:45 GMT 2022


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> The second warning looks wrong to me.

It is right. Try doing the cast to int instead of a pointer (to int).


More information about the Gcc-bugs mailing list