Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 08:54:05 +0200 (CEST)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/make cond.c globals.h main.c make.h
Message-ID:  <20050429084802.G39531@beagle.kn.op.dlr.de>
In-Reply-To: <20050428181040.GB93281@ip.net.ua>
References:  <200504281537.j3SFbQGR051640@repoman.freebsd.org> <20050428181040.GB93281@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429084802.G39531>