From owner-freebsd-current@FreeBSD.ORG Sun Nov 27 22:11:04 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 273AF16A41F for ; Sun, 27 Nov 2005 22:11:04 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from visi.gothic.net.au (visi.gothic.net.au [202.182.72.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2972743D73 for ; Sun, 27 Nov 2005 22:10:56 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from localhost (localhost [127.0.0.1]) by visi.gothic.net.au (Postfix) with ESMTP id 7BA92264D1; Mon, 28 Nov 2005 09:10:54 +1100 (EST) Received: from localhost ([127.0.0.1]) by localhost (visi.gothic.net.au [127.0.0.1]) (amavisd-new, port 10026) with SMTP id 30819-08; Mon, 28 Nov 2005 09:10:51 +1100 (EST) Received: from [10.99.34.33] (home.winn.id.au [202.182.72.30]) by visi.gothic.net.au (Postfix) with ESMTP id B7CFC264C2; Mon, 28 Nov 2005 09:10:50 +1100 (EST) In-Reply-To: <200511271258.23017.ringworm01@gmail.com> References: <17290.7435.851684.533219@roam.psg.com> <200511271258.23017.ringworm01@gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-2-203426524; protocol="application/pkcs7-signature" Message-Id: <7FEAFB8D-F487-43BD-9B9F-F97A6DAC9406@gothic.net.au> From: Sean Winn Date: Mon, 28 Nov 2005 09:10:48 +1100 To: Michael C. Shultz X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at gothic.net.au X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Randy Bush , 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 22:11:04 -0000 --Apple-Mail-2-203426524 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 28/11/2005, at 7:58 AM, Michael C. Shultz wrote: > On Sunday 27 November 2005 12:54, Randy Bush wrote: >> cvsup at 20:39 >> >> 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 > Unlikely seeing -Werror is the default for kernel builds and has been for a while. NO_WERROR is what turns it off. > -Mike > > >> -DHAVE_KERNEL_OPTION_HEADERS -include >> /usr/obj/usr/src/sys/ROAM/opt_global.h -I. -I@ -I@/contrib/altq >> -I@/../include -finline-limit=8000 -fno-common -g >> -I/usr/obj/usr/src/sys/ROAM -mno-align-long-strings >> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >> -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> -Wcast-qual -fformat-extensions -std=c99 -c >> /usr/src/sys/modules/mpt/../../dev/mpt/mpt_raid.c ld -d -warn- >> common -r -d >> -o mpt.kld mpt.o mpt_cam.o mpt_debug.o mpt_pci.o mpt_raid.o touch >> export_syms >> awk -f /usr/src/sys/modules/mpt/../../conf/kmod_syms.awk mpt.kld >> export_syms | xargs -J% objcopy % mpt.kld ld -Bshareable -d -warn- >> common >> -o mpt.ko.debug mpt.kld >> objcopy --only-keep-debug mpt.ko.debug mpt.ko.symbols >> objcopy --strip-debug --add-gnu-debuglink=mpt.ko.symbols mpt.ko.debug >> mpt.ko ===> mqueue (all) >> cc -O -pipe -march=pentiumpro -Werror -D_KERNEL -DKLD_MODULE - >> nostdinc -I- >> -DHAVE_KERNEL_OPTION_HEADERS -include >> /usr/obj/usr/src/sys/ROAM/opt_global.h -I. -I@ -I@/contrib/altq >> -I@/../include -finline-limit=8000 -fno-common -g >> -I/usr/obj/usr/src/sys/ROAM -mno-align-long-strings >> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >> -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> -Wcast-qual -fformat-extensions -std=c99 -c >> /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c >> /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c: In function >> `mq_open': /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c:1832: >> warning: 'mq' might be used uninitialized in this function *** >> Error code 1 >> >> _______________________________________________ >> 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" > _______________________________________________ > 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" > --Apple-Mail-2-203426524--