[bug #28456] Expansion of $$< is incorrect

2023-01-02 Thread Paul D. Smith
Update of bug #28456 (project make): Status:None => Fixed Open/Closed:Open => Closed Fixed Release:None => 4.3

[bug #28456] Expansion of $$< is incorrect

2019-07-13 Thread Paul D. Smith
Follow-up Comment #8, bug #28456 (project make): Thanks for that fix Mike. I've applied it. I rewrote the tests somewhat to be a bit more specific. As for the rest of these problems, there are real issues here which are not easily solved. The only way to make something like this: foo: bar

[bug #28456] Expansion of $$< is incorrect

2019-07-11 Thread Mike Haboustak
Follow-up Comment #7, bug #28456 (project make): I've encountered this inconsistency when trying to use secondary expansion. When a default rule is not defined, any rule without a recipe has $< overridden with $@. I've added a patch that avoids comparing null file commands and a regression test.

[bug #28456] Expansion of $$< is incorrect

2019-07-11 Thread Mike Haboustak
Additional Item Attachment, bug #28456 (project make): File name: se_default.mk Size:0 KB ___ Reply to this item at:

[bug #28456] Expansion of $$< is incorrect

2017-11-02 Thread Robert Bogomip
Follow-up Comment #6, bug #28456 (project make): The handling of *$<* under *SECONDEXPANSION* seems well broken as of 4.2.1. With an implicit rule: $ cat Makefile .SECONDEXPANSION: %.2: %.1 $$(info [$$<] [$$@]) ; : $@ Success $ ls foo.1 Makefile $ make foo.2

[bug #28456] Expansion of $$ is incorrect

2010-10-15 Thread anonymous
Follow-up Comment #5, bug #28456 (project make): I'm confirming the bug on a Ubuntu 9.10 i386 host. Curiously, this particular bug also triggers circular dependencies. More surprising, the test case is simply the snippet found straight in the info page (make.info, section 3.10, Secondary

[bug #28456] Expansion of $$ is incorrect

2010-09-20 Thread Paul D. Smith
Follow-up Comment #4, bug #28456 (project make): See also duplicate bug #31087 ___ Reply to this item at: http://savannah.gnu.org/bugs/?28456 ___ Message sent via/by Savannah

[bug #28456] Expansion of $$ is incorrect

2010-02-10 Thread Kirill Smelkov
Follow-up Comment #1, bug #28456 (project make): I think I was also beaten by this. Consider: 8 $ cat bug-28456.mk .SUFFIXES: all : 1.o show-vars = $(info $$@ : $@) $(info $$ : $) $(info $$^ : $^) $(info $$+ : $+)

[bug #28456] Expansion of $$ is incorrect

2010-02-10 Thread Kirill Smelkov
Follow-up Comment #2, bug #28456 (project make): Update: $$ gets the same value as $$@ because of the following code fragment in commands.c: if (file-cmds == default_file-cmds) /* This file got its commands from .DEFAULT. In this case $ is the same as $...@. */ less = at;

[bug #28456] Expansion of $$ is incorrect

2010-02-10 Thread Kirill Smelkov
Follow-up Comment #3, bug #28456 (project make): Update: It seems current make behaviour is inconsisten with its manual. I quote `Secondary Expansion of Implicit Rules': As `make' searches for an implicit rule, it substitutes the stem and then performs secondary expansion for every rule with

[bug #28456] Expansion of $$ is incorrect

2009-12-31 Thread Ian Lynagh
URL: http://savannah.gnu.org/bugs/?28456 Summary: Expansion of $$ is incorrect Project: make Submitted by: igloo Submitted on: Fri Jan 1 01:37:37 2010 Severity: 3 - Normal Item Group: Bug