From owner-freebsd-alpha Wed Mar 20 15:18:39 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3E3F037B404 for ; Wed, 20 Mar 2002 15:18:36 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g2KNIalv090163; Wed, 20 Mar 2002 15:18:36 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g2KNHLpM090141; Wed, 20 Mar 2002 15:17:21 -0800 (PST) Date: Wed, 20 Mar 2002 15:17:20 -0800 From: "David O'Brien" To: "M. Warner Losh" Cc: alpha@freebsd.org Subject: Re: Expected compiler error on GENERIC? Message-ID: <20020320151720.A90111@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020320.153148.103780390.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020320.153148.103780390.imp@village.org>; from imp@village.org on Wed, Mar 20, 2002 at 03:31:48PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gn Wed, Mar 20, 2002 at 03:31:48PM -0700, M. Warner Losh wrote: > cc -c -O -pipe -mcpu=ev56 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I/usr/include -D_KERNEL -ffreestanding -include opt_global.h -fno-common -elf -mno-fp-regs -ffixed-8 -Wa,-mev56 -Werror ../../../alpha/pci/t2.c > cc1: warnings being treated as errors > ../../../alpha/pci/t2.c: In function `t2_probe': > ../../../alpha/pci/t2.c:340: warning: cast discards qualifiers from pointer target type > *** Error code 1 I looked at this today. I don't know enough about the code to figure out a good correct fix. What is being complained about is the structure is 'volatile'. This is the only remaining warning for compiling GENERIC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message