From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 21:01:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 076AE16A4CE for ; Wed, 5 Nov 2003 21:01:21 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F33B43FD7 for ; Wed, 5 Nov 2003 21:01:20 -0800 (PST) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id hA651Fu10704; Wed, 5 Nov 2003 21:01:15 -0800 From: Kent Stewart To: Alex Wilkinson , freebsd-current@freebsd.org Date: Wed, 5 Nov 2003 21:01:15 -0800 User-Agent: KMail/1.5.4 References: <20031106044049.GG2796@squirm.dsto.defence.gov.au> In-Reply-To: <20031106044049.GG2796@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311052101.15101.kstewart@owt.com> Subject: Re: [buildkernel fail] -Werror if_xe.c:1832: warning: `xe_reg_dump' defined but not used X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 05:01:21 -0000 On Wednesday 05 November 2003 08:40 pm, Alex Wilkinson wrote: > CVSup'd today [Thu Nov 6 15:09:02 CST 2003]. > > buildkernel fails on a warning. > > $ make buildkernel > > ... > > cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 > -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -Werror /usr/src/sys/dev/wi/if_wi_pci.c cc -c -O -pipe > -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 > -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -Werror /usr/src/sys/dev/xe/if_xe.c It did what you told it to do and died on a warning (Werror). Kent > /usr/src/sys/dev/xe/if_xe.c:1832: warning: `xe_reg_dump' defined but not > used *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Regards > > - aW > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html