Re: svn commit: r293792 - head/sys/boot/uboot/lib

2016-01-13 Thread Bruce Evans
On Wed, 13 Jan 2016, Konstantin Belousov wrote: On Wed, Jan 13, 2016 at 03:03:07PM +1100, Bruce Evans wrote: Oops. It is only declared in outside of the kernel. Only __uintfptr_t is always declared by sys/types.h. So what is the intended use of the uintfptr_t type ? Looking at the implemen

Re: svn commit: r293792 - head/sys/boot/uboot/lib

2016-01-13 Thread Konstantin Belousov
On Wed, Jan 13, 2016 at 03:03:07PM +1100, Bruce Evans wrote: > Oops. It is only declared in outside of the kernel. > Only __uintfptr_t is always declared by sys/types.h. So what is the intended use of the uintfptr_t type ? Looking at the implementation only, I am unable to find a difference wit

Re: svn commit: r293792 - head/sys/boot/uboot/lib

2016-01-12 Thread Bruce Evans
On Wed, 13 Jan 2016, Ian Lepore wrote: Log: Go back to using uintptr_t, because code that actually compiles is infinitely less buggy than code that is theoretically correct in some alternate universe. The uintfptr_t type is apparently a freebsd invention, and exists only when compiling the