[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bugs fixed in -bk4
From: |
Boris Kolpackov |
Subject: |
bugs fixed in -bk4 |
Date: |
Sat, 26 Jun 2004 16:18:06 -0500 |
User-agent: |
Mutt/1.5.6i |
Hi Paul,
I have one patch in my -bk patch-set which, IMO, has no reason
of not being in the main trunk. It implements dontcare flag
inheritance which, combined with your recent changes to the
dontcare machinery, fixes both bugs described here
http://mail.gnu.org/archive/html/bug-make/2004-02/msg00014.html
Here is the makefile that triggers the bug (could be added to
regression tests):
-include bar
hello:
@echo hello
bar : foo
cp foo bar
Another patch, which I think you may be interested in, is
pattern-specific-expansion.patch. Here is the description:
The following makefile prints 'B' instead of 'A'.
a := A
%bar : arg := $a
%bar : ; @echo $(arg)
a := B
foobar:
The patch adds additional expansion at pattern definition
point for simple variables (i.e. declared with :=). Also
note that you can inhibit this additional expansion if
you want to:
%bar : arg := $a $$a
With this change the makefile above prints 'A B'.
I remember you promised to take a look at this but I never
heard back from you ;-).
You can get the patch-set from here:
ftp://kolpackov.net/pub/projects/make/bk/
Each patch is individually-applicable.
hth,
-boris
signature.asc
Description: Digital signature
- bugs fixed in -bk4,
Boris Kolpackov <=