From owner-freebsd-alpha Wed Mar 20 14:40:48 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 223C137B417 for ; Wed, 20 Mar 2002 14:40:40 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA10099; Wed, 20 Mar 2002 17:40:39 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g2KMe9O05542; Wed, 20 Mar 2002 17:40:09 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15513.4041.407099.858575@grasshopper.cs.duke.edu> Date: Wed, 20 Mar 2002 17:40:09 -0500 (EST) To: "M. Warner Losh" Cc: alpha@FreeBSD.ORG Subject: Re: Expected compiler error on GENERIC? In-Reply-To: <20020320.153148.103780390.imp@village.org> References: <20020320.153148.103780390.imp@village.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 M. Warner Losh writes: > 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 > Until recently, alpha compiles never even made it this far with -Werror.. What's the appropriate way to shut the compiler up? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message