[PATCH] Fix compile on NetBSD-current for popcount

Roy Marples roy at marples.name
Fri Sep 4 11:37:58 CEST 2009


On 04/09/2009 10:30, Marc Lehmann wrote:
> On Fri, Sep 04, 2009 at 07:09:51AM +0100, Roy Marples<roy at NetBSD.org>  wrote:
>> Hi
>>
>> NetBSD now ships popcount in libc, which does the same job as the gcc
>
> Argh, BSD hits, again.
>
> I will probably rename the function (just using random function names and
> assuming they have the same semantics as our function is not a good idea),
> but really, couldn't netbsd just fix this bug in their libc?
>
> It's not as if "implementation namespace" or "os-specific header file for
> extensions" is a particularly new or weird concepts - other osses have no
> problems keeping the program namespace clean, and there are so many methods
> not to inject the program namespace with random symbols.
>
> this just makes netbsd more like a minefield - learn to say no to evil
> people who want to destroy netbsd by making it a hostile environment for
> programming :)

Not at all unlike the glibc function getline(3) which was accepted by 
POSIX as is and didn't cause any undue grief to applications which 
already had a getline function? ;)

Anyway, as long as it's fixed :)

Thanks

Roy




More information about the rxvt-unicode mailing list