On Wed, 25 Sep 2019 at 17:13, Dimitry Andric <d...@freebsd.org> 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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to