From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVJXw-0006ID-Qw for qemu-devel@nongnu.org; Thu, 25 Apr 2013 06:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVJXq-0000Aq-OG for qemu-devel@nongnu.org; Thu, 25 Apr 2013 06:37:00 -0400 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:57152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVJXq-0000Ah-Hm for qemu-devel@nongnu.org; Thu, 25 Apr 2013 06:36:54 -0400 Received: by mail-ea0-f181.google.com with SMTP id a11so1142433eae.12 for ; Thu, 25 Apr 2013 03:36:53 -0700 (PDT) Sender: Richard Henderson Message-ID: <51790742.1050906@twiddle.net> Date: Thu, 25 Apr 2013 11:36:50 +0100 From: Richard Henderson MIME-Version: 1.0 References: <20130425064701.GA9899@mail.duskware.de> In-Reply-To: <20130425064701.GA9899@mail.duskware.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Git head build problem (popcountl vs. system headers) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Martin Husemann Cc: qemu-devel@nongnu.org On 2013-04-25 07:47, Martin Husemann wrote: > I just tried building git HEAD on NetBSD-current and gcc chokes on > a prototype mismatch for popcountl: > > util/hbitmap.c has: > > static inline int popcountl(unsigned long l) > { > return BITS_PER_LONG == 32 ? ctpop32(l) : ctpop64(l); > } > > while NetBSD's strings.h uses: > > unsigned int popcountl(unsigned long) __constfunc; is the K&R header supplanted by ISO . Is there any good reason that we're including it at all? r~