svn commit: r300539 - in head: . share/man/man3 sys/kern sys/sys tests/sys/sys

Alan Somers asomers at freebsd.org
Mon May 23 22:33:17 UTC 2016


On Mon, May 23, 2016 at 4:31 PM, Peter Wemm <peter at wemm.org> wrote:

> On Monday, May 23, 2016 08:29:18 PM Alan Somers wrote:
> > Author: asomers
> > Date: Mon May 23 20:29:18 2016
> > New Revision: 300539
> > URL: https://svnweb.freebsd.org/changeset/base/300539
> >
> > Log:
> >   Add bit_count to the bitstring(3) api
> >
>
> (My aplogies, I replied to the wrong commit.)
>
>
> This breaks i386:
>
> In file included from /usr/src/usr.sbin/apmd/apmd.c:36:
> In file included from /usr/obj/usr/src/tmp/usr/include/bitstring.h:34:
> /usr/obj/usr/src/tmp/usr/include/sys/bitstring.h:278:13: error: implicit
> declaration of function '__bitcountl' is invalid in C99
> [-Werror,-Wimplicit-
> function-declaration]
>                 _value += __bitcountl(*_curbitstr & mask);
> ...
>

Oops.  I'll fix it.


More information about the svn-src-head mailing list