From owner-cvs-all@FreeBSD.ORG Thu May 1 16:52:56 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE4937B401; Thu, 1 May 2003 16:52:56 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F1143FCB; Thu, 1 May 2003 16:52:55 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h41Nqqm2053596; Thu, 1 May 2003 16:52:52 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h41NqqxX053595; Thu, 1 May 2003 16:52:52 -0700 (PDT) Date: Thu, 1 May 2003 16:52:51 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Message-ID: <20030501235251.GA53569@dragon.nuxi.com> References: <200305011436.h41EaRQ7056929@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305011436.h41EaRQ7056929@repoman.freebsd.org> User-Agent: Mutt/1.4i 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 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/mk bsd.sys.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 23:52:57 -0000 On Thu, May 01, 2003 at 07:36:27AM -0700, Dag-Erling Smorgrav wrote: > des 2003/05/01 07:36:27 PDT > > FreeBSD src repository > > Modified files: > share/mk bsd.sys.mk > Log: > Add a mechanism to allow Makefiles to specify the particular C dialect > in which the source code is written. This is controlled by the CSTD > variable, which can have one of the following values: > > - "k&r" => -traditional > - "c89" or "c90" => -std=iso9899:1990 > - "c94" or "c95" => -std=iso9899:199409 > - "c99" => -std=iso9899:1999 > > The corresponding option is added to CFLAGS regardless of WARNS level. > This also removes -ansi from WARNS level 6, but adds -Wno-long-long to > work around a weird gcc bug (-ansi, which is supposedly equivalent to > -std=iso9899:1990, seems to turn long long warnings off instead of on) > > If CSTD is undefined, CFLAGS are unchanged except for the -ansi / > -Wno-long-long change mentioned above for WARNS level 6. PLEASE DO NOT ADD ANY MORE STD= TO MAKEFILES. When this came up in freebsd-arch you did not have support for this, and you are majorly trumpling over a change Mux and I have been working on and announced to freebsd-arch.