[PATCH] Fix compile on NetBSD-current for popcount
Joerg Sonnenberger
joerg at britannica.bec.de
Fri Sep 4 16:16:01 CEST 2009
On Fri, Sep 04, 2009 at 04:09:04PM +0200, Marc Lehmann wrote:
> > If it would, popcount would not be visible from string.h. But it is easy
> > to bitch first.
>
> I didn't claim it requested posix only. The point is that netbsd, in
> typical bsd arrogance, gratitiously broke other software, even though
> better alternatives exist, as implemented by other systems - netbsd choose
> not to.
What better alternatives are you talking about? I should add that the
function names are based on gnulib.
> And in typical bsd arrogance, it's always the rest of the world who is
> broken because they don't comply to netbsd pseudo standards. Come to your
> senses, calling this something that needs _fixing_ in rxvt-unicode is just
> that: arrogant.
You are complaining about the default namespace which on almost any OS
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. If you want to ensure
that nothing messes with the namespace, use _XOPEN_SOURCE or similar
macros.
Joerg
More information about the rxvt-unicode
mailing list