On Jun 22, 2013, at 5:44 PM, Bruce Evans wrote: > On Sat, 22 Jun 2013, Garrett Cooper wrote: > >> On Jun 22, 2013, at 11:22 AM, Steven Hartland wrote: >> >>> I thought the use of PRIu64 was frowned on? >> >> It is in FreeBSD, unlike Linux (for better or for worse). It should be >> cast with either intmax_t or uintmax_t and use %jd or %ju. > > Do you mean that this mistake is not even possible in Linux (the kernel)? > Linux-2.6.10 has no references to PRI* or SCN*. It doesn't even have > stdint.h. The PRI* and SCN* bugs are in inttypes.h. In C99, <inttypes.h> > is a historical wrapper for <stdint.h> that adds these bugs and prototypes > for strtoimax() and friends. In the kernel, these files really shouldn't > be used.
I meant GNU/Linux, as a distribution, not just the kernel. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"