cvs commit: src/usr.bin/make cond.c globals.h main.c make.h

Harti Brandt hartmut.brandt at dlr.de
Thu Apr 28 23:54:07 PDT 2005


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


More information about the cvs-src mailing list