From owner-cvs-all@FreeBSD.ORG Fri Apr 29 06:54:07 2005 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 0DA3C16A4CE; Fri, 29 Apr 2005 06:54:07 +0000 (GMT) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id B761143D3F; Fri, 29 Apr 2005 06:54:05 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Fri, 29 Apr 2005 08:54:04 +0200 Date: Fri, 29 Apr 2005 08:54:05 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Ruslan Ermilov In-Reply-To: <20050428181040.GB93281@ip.net.ua> Message-ID: <20050429084802.G39531@beagle.kn.op.dlr.de> References: <200504281537.j3SFbQGR051640@repoman.freebsd.org> <20050428181040.GB93281@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 29 Apr 2005 06:54:04.0355 (UTC) FILETIME=[3B44B930:01C54C88] cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/make cond.c globals.h main.c make.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 06:54:07 -0000 On Thu, 28 Apr 2005, Ruslan Ermilov wrote: RE>On Thu, Apr 28, 2005 at 03:37:26PM +0000, Hartmut Brandt wrote: RE>> harti 2005-04-28 15:37:26 UTC RE>> RE>> FreeBSD src repository RE>> RE>> Modified files: RE>> usr.bin/make cond.c globals.h main.c make.h RE>> Log: RE>> Introduce a flag to enable extended warnings (-x) and make them off RE>> by default. This should fix the problem of getting lots of errors RE>> when building with an up-to-date make and old *.mk files. RE>> RE>> Revision Changes Path RE>> 1.47 +7 -4 src/usr.bin/make/cond.c RE>> 1.4 +4 -0 src/usr.bin/make/globals.h RE>> 1.134 +13 -4 src/usr.bin/make/main.c RE>> 1.30 +7 -0 src/usr.bin/make/make.h RE>> RE>I think it should be masked after -d, i.e., -dx, as the former RE>increases chances of introducing various compatibility problems RE>later. What compatibility problems? I choose -x and not -w to not collide with gmake. I'm not aware of any make that uses -x. Also -x allows you to selectively toggle warnings (there is only one yet) so that would require kind of an argument to an argument to -d which certainly is not so nice. harti