From owner-cvs-sys Thu Oct 3 07:14:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29152 for cvs-sys-outgoing; Thu, 3 Oct 1996 07:14:42 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA29122; Thu, 3 Oct 1996 07:14:20 -0700 (PDT) Received: from relay.xlink.net by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0v8oXZ-00092rC; Thu, 3 Oct 96 07:14 PDT Received: from gate.fzi.de by relay.xlink.net id <29347-0@relay.xlink.net>; Thu, 3 Oct 1996 15:02:14 +0000 Received: from PROST1.fzi.de by gate.fzi.de with SMTP (PP) id <03615-0@gate.fzi.de>; Thu, 3 Oct 1996 16:02:05 +0100 Received: from delhi by prost1.fzi.de with SMTP (PP); Thu, 3 Oct 1996 16:00:58 +0100 Message-ID: <3253D55A.2429@fzi.de> Date: Thu, 03 Oct 1996 17:01:46 +0200 From: Guenther Grau Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4u) MIME-Version: 1.0 To: "Jordan K. Hubbard" CC: sos@FreeBSD.org, Michael Smith , peter@spinner.dialix.com, jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c References: <14872.844330962@time.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard wrote: > > > I guess we'll have to go fix hordes of files with another gcc'ism > > Or just turn -Wunused off. This seems reasonable. Another, maybe stupid, as I don't know how many changes this will involve, suggestion is, to a define a macro that actually uses these variables, like #define _USE(x) (x=x) A good compiler schould be able to optimize this away. the use of this macro in the right places would eliminate the warnings, and still have gcc issue warnings when variables are not used in other functions. Guenther