From owner-freebsd-arch Fri Mar 14 11:43:10 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4121537B401; Fri, 14 Mar 2003 11:43:09 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6878D43F75; Fri, 14 Mar 2003 11:43:07 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.8/8.12.7) with ESMTP id h2EJh5QA023186; Fri, 14 Mar 2003 14:43:05 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030314181546.GH3819@elvis.mu.org> References: <20030313192045.GG3819@elvis.mu.org> <20030314175814.GC94719@sunbay.com> <20030314181546.GH3819@elvis.mu.org> Date: Fri, 14 Mar 2003 14:43:04 -0500 To: Maxime Henrion , Ruslan Ermilov From: Garance A Drosihn Subject: Re: WARNS=6 changes Cc: arch@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.28 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:15 PM +0100 3/14/03, Maxime Henrion wrote: >Ruslan Ermilov wrote: > > On Thu, Mar 13, 2003, Maxime Henrion wrote: > > > This patch changes the default standard used for warnings > > > from c89 to c99. It only affects WARNS=6 code (that is, very > > > few code). It also makes it possible to select another > > > standard with the WSTD variable if we ever need to. > > > > I think that *not* hard-coding WSTD is not good, because it > > then may mean different things for different settings. > >I'm not sure I understand your concerns here. Could you explain >what you mean a bit please? I think he's saying that he does not want the user to have a separate switch for WSTD. WARNS=6 would always mean C99, or would never mean it. Me, I'd kinda like the idea of a separate switch for which standard to use, but I'm not sure why that switch would only be for WARNS=6... Basically I'm inclined to think that trying to merge the 4800 different -W flags of gcc into just one numerical value is pretty much a hopeless task anyway... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message