On Apr 11, 2013, at 11:13 AM, Colin Percival wrote: > On 04/11/13 00:59, Bruce Evans wrote: >>> Log: >>> Include types.h for C99 uintXX_t types. >> >> This adds namespace pollution that was carefully left out. > > ... and as a developer, I wish we left out such namespace pollution more > often. > > I write code on FreeBSD which I then publish with the intention that people > will > be able to use it on any POSIX-compliant system, and I've lost count of the > number of times I've been hit by "this won't build on OS X or Linux because > you > forgot to #include <stdint.h>".
Funny this would be mentioned. I've seen the converse a lot with Linux devs because they fail to understand that headers on Linux #include a lot more crud than they need to.. Devs in general don't read the [POSIX] manpages like they should to figure out what needs to be #include'd in order to get function/constant definitions. Third party devs are usually the worst offenders. Thanks, -Garrett _______________________________________________ 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"