On Wed, 25 Sep 2019 at 17:13, Dimitry Andric <[email protected]> wrote:
>
> > Interesting, it seems Clang doesn't even warn in the case of casting a
> > uint64_t to a 32-bit pointer. Looks like there are some useful
> > warnings that ought to be implemented.
>
> There is -Wconversion for this, or the more specific -Wshorten-64-to-32:

But it's not all of -Wconversion I think we want or even 64- to 32-bit
warnings, but particularly conversions between pointers and integers
of different sizes.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to