svn commit: r249355 - head/lib/libkvm

Colin Percival cperciva at freebsd.org
Thu Apr 11 18:13:31 UTC 2013


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>".

Namespace pollution has a very real cost in wasted developer time.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



More information about the svn-src-head mailing list