Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 15:50:48 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        kargl@uw.edu, freebsd-current@freebsd.org
Subject:   Re: Who broke world and how to fix?
Message-ID:  <05f9555f-45af-b44e-2f3b-d2f9dc80f0c3@protected-networks.net>
In-Reply-To: <20160721183235.GA48770@troutmask.apl.washington.edu>
References:  <20160721183235.GA48770@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/21/16 14:32, Steve Kargl wrote:
> Updating uname -a
> FreeBSD 11.0-ALPHA5 FreeBSD 11.0-ALPHA5
> #3 r302248: Tue Jun 28 10:11:31 PDT 2016
> data/obj/usr/src/sys/SPEW  amd64
> 
> to top-of-tree
> 
> ===> lib/libsbuf (obj,all,install)
> cc   -O2 -pipe   -MD  -MF.depend.subr_prf.o -MTsubr_prf.o -std=gnu99 \
> -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k \
> -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes \
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch \
>  -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline \
> -Wnested-externs -Wredundant-decls -Wold-style-definition \
> -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety \
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  \
> -Qunused-arguments  -c /usr/src/lib/libsbuf/../../sys/kern/subr_prf.c \
> -o subr_prf.o
> /usr/src/lib/libsbuf/../../sys/kern/subr_prf.c:1209:7: error: implicit
>  declaration of function 'atomic_cmpset_int' is invalid in C99
>  [-Werror,-Wimplicit-function-declaration]
>                 if (atomic_cmpset_int(counter, c, c - 1)) {
>                     ^
> 

It's fixed at and after SVN r303155,

	imb




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05f9555f-45af-b44e-2f3b-d2f9dc80f0c3>