[bug #44308] combination of $(call ...) and $(value ...) functions

2015-02-22 Thread Christian Boos
Follow-up Comment #4, bug #44308 (project make): Your example reminded me similar constructions I use a lot in my own Makefiles. I use a technique which I call the eval/value style which allows me to generate parametric Make code without having to deal with annoying levels of $ quoting. Here's h

[bug #44308] combination of $(call ...) and $(value ...) functions

2015-02-21 Thread Paul D. Smith
Follow-up Comment #3, bug #44308 (project make): You should also consider multiple digits like $(10), $(11), etc. Could happen. Yes, a switch in the C code. Not a big deal. Definitely there's no possible way we can make a backward-incompatible change. Whatever solution was found, would HAVE T

[bug #44308] combination of $(call ...) and $(value ...) functions

2015-02-20 Thread Alex Maystrenko
Follow-up Comment #2, bug #44308 (project make): 1. ${1} and $(1) - it is possible 2. "switch" in C code or where? 3. Yes it is hard. I think it is better to leave both function so old style and new style variables would be possible. ___ R

[bug #44308] combination of $(call ...) and $(value ...) functions

2015-02-20 Thread Paul D. Smith
Follow-up Comment #1, bug #44308 (project make): This is an interesting idea. I have the following concerns: A small one: you should handle ${1} and $(1) as well as simple $1 (etc.) Also you'll probably get measurable speedup using switch statements instead of if/else, for any makefile that use

[bug #44308] combination of $(call ...) and $(value ...) functions

2015-02-19 Thread Alex Maystrenko
URL: Summary: combination of $(call ...) and $(value ...) functions Project: make Submitted by: technic93 Submitted on: Чтв 19 Фев 2015 11:35:05 Severity: 3 - Normal Item