From owner-freebsd-stable@FreeBSD.ORG Thu Jun 7 16:07:30 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBE79106566B; Thu, 7 Jun 2012 16:07:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9347C8FC17; Thu, 7 Jun 2012 16:07:30 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 04113B96F; Thu, 7 Jun 2012 12:07:30 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 7 Jun 2012 10:06:01 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <20120607132920.GA92505@DataIX.net> In-Reply-To: <20120607132920.GA92505@DataIX.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201206071006.01610.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 07 Jun 2012 12:07:30 -0400 (EDT) Cc: stable@freebsd.org Subject: Re: usr.bin/fstat warnings being treated as errors on i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 16:07:30 -0000 On Thursday, June 07, 2012 9:29:20 am Jason Hellenthal wrote: > > Is anyone else seeing this on a vanilla source tree ? > > cc1: warnings being treated as errors > /usr/src/usr.bin/fstat/fstat.c:159: warning: 'struct shmfd' declared > inside parameter list > /usr/src/usr.bin/fstat/fstat.c:159: warning: its scope is only this > definition or declaration, which is probably not what you want > /usr/src/usr.bin/fstat/fstat.c:951: warning: 'struct shmfd' declared > inside parameter list > /usr/src/usr.bin/fstat/fstat.c:952: error: conflicting types for > 'shmtrans' > /usr/src/usr.bin/fstat/fstat.c:159: error: previous declaration of > 'shmtrans' was here > /usr/src/usr.bin/fstat/fstat.c: In function 'shmtrans': > /usr/src/usr.bin/fstat/fstat.c:953: error: storage size of 'shm' isn't > known > /usr/src/usr.bin/fstat/fstat.c:961: error: invalid application of > 'sizeof' to incomplete type 'struct shmfd' > /usr/src/usr.bin/fstat/fstat.c:961: error: invalid application of > 'sizeof' to incomplete type 'struct shmfd' > /usr/src/usr.bin/fstat/fstat.c:961: error: invalid application of > 'sizeof' to incomplete type 'struct shmfd' > /usr/src/usr.bin/fstat/fstat.c:953: warning: unused variable 'shm' > *** Error code 1 I think you got part of a commit. Have you tried re-running csup? -- John Baldwin