From owner-freebsd-current@FreeBSD.ORG Sun Nov 27 21:27:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 9928916A41F for ; Sun, 27 Nov 2005 21:27:16 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 554BA43D62 for ; Sun, 27 Nov 2005 21:27:01 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i30so1585808wra for ; Sun, 27 Nov 2005 13:26:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=s+BzfiE6+yQYA5LDhjlHs46L4FwW4gagCfzm78mZ78lQwQjwvZInnjqg0p9tXUg1n3Mf685Ej03braan797fON72YL7ALmhZjtfWHZbiA77M59qhJBtPOSb/I4YJ9DAEtKhmFdA+XUGqG5idBNZD8qEzovG5ZDaQHVP6Y+dl/lc= Received: by 10.54.100.6 with SMTP id x6mr1147744wrb; Sun, 27 Nov 2005 13:26:56 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 26sm76026wrl.2005.11.27.13.26.56; Sun, 27 Nov 2005 13:26:56 -0800 (PST) From: "Michael C. Shultz" To: Randy Bush Date: Sun, 27 Nov 2005 13:17:20 -0800 User-Agent: KMail/1.8.3 References: <17290.7435.851684.533219@roam.psg.com> <200511271258.23017.ringworm01@gmail.com> <17290.8479.860308.161622@roam.psg.com> In-Reply-To: <17290.8479.860308.161622@roam.psg.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511271317.23209.ringworm01@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: uipc_mqueue.c:1832: warning: 'mq' might be used uninitialized in this function X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 27 Nov 2005 21:27:16 -0000 On Sunday 27 November 2005 13:11, Randy Bush wrote: > >> cc -O -pipe -march=pentiumpro -Werror -D_KERNEL -DKLD_MODULE -nostdinc > >> -I- > > > > get rid of -Werror in you CFLAGS, likely you set this in /etc/make.conf > > it is not set in make.conf > > KERNCONF=MYNAME > #CPUTYPE=pentium-m > CPUTYPE?=i686 > CFLAGS=-O -pipe > #CFLAGS+=-pthread > COPTFLAGS=-O -pipe > NO_GAMES=true > NO_PROFILE=true > NO_BIND=true > NO_I4B=true > NO_IPFILTER=true > NO_KERBEROS=true > NO_MAILWRAPPER=true > NO_OBJC=true > NO_SENDMAIL=true > MAKE_IDEA=YES > X_WINDOW_SYSTEM=xorg > HAVE_MOTIF=yes > MOTIFLIB=-L${X11BASE}/lib -lXm > USA_RESIDENT=YES > FORCE_PKG_REGISTER=YES > ENABLE_WPA_SUPPLICANT_EAPOL=YES > MASTER_SITE_BACKUP?= \ > ftp://ftp2.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ > MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP} > GNOME_DESKTOP_VERSION= 2 > MASTER_SITE_GNOME= \ > http://www.gtlib.cc.gatech.edu/pub/gnome/%SUBDIR%/ \ > http://public.planetmirror.com/pub/gnome/%SUBDIR%/ \ > ftp://ftp.cse.buffalo.edu/pub/Gnome/%SUBDIR%/ \ > http://archive.progeny.com/GNOME/%SUBDIR%/ \ > http://ftp.gnome.org/pub/GNOME/%SUBDIR%/ > WITH_LAME= yes > > # added by use.perl 2005-07-07 15:22:00 > PERL_VER=5.8.7 > PERL_VERSION=5.8.7 According to http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html -Werror Make all warnings into errors. So you either need to fix all warnings or track down where this -Werror switch is comming from. -Mike