[PATCH] Fix compile on NetBSD-current for popcount

Marc Lehmann schmorp at schmorp.de
Fri Sep 4 17:44:52 CEST 2009


On Fri, Sep 04, 2009 at 05:31:23PM +0200, Marc Lehmann <schmorp at schmorp.de> wrote:
> > includes functions beyond SUS. I don't know what Roy wrote in his
> > original message, I am just telling you that blaming NetBSD for adding
> > common functions to the default namespace is off.

Funny how you yourself (or another Joerg Sonnenberger)
called it a bug to provide them by default in string.h in this thread:
http://archive.netbsd.se/?ml=netbsd-tech-userlevel&a=2009-08&t=11235091

Also funny how you call this gnu compatibility when the gnu system itself
uses the implementation namespace and avoids clashes. Likewise for gcc,
which calls it __builtin_popcount for a reason.

But yeah, it's off to blame netbsd for being the only one to not do it
sanely.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the rxvt-unicode mailing list