Hi, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
> Han-Wen Nienhuys escreveu: >> Ludovic Courtès escreveu: >>> +/* >>> + Classic MIT Hack, see e.g. http://www.tekpool.com/?cat=9 >>> + */ >>> +int scm_i_uint_bit_count(unsigned int u) >>> >>> (BTW, it'd make sense to use Gnulib's `count-one-bits' module, which is >>> able to use GCC's `__builtin_popcount ()'.) > > Could you add the gnulib module? I'll do the rest. I asked for re-licensing: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/14349 Once that is done, all you need is to add it to `m4/gnulib-cache.m4', run "gnulib-tool --update", commit the module changes and additions, and hack the thing. You can post the patches before committing, too. ;-) Thanks, Ludovic.