[bug #59691] feature requests: something similiar to __LINE__ and __FILE__ in C

2020-12-15 Thread anonymous
URL: Summary: feature requests: something similiar to __LINE__ and __FILE__ in C Project: make Submitted by: None Submitted on: Tue 15 Dec 2020 02:06:22 PM UTC Severity: 3 - Normal

Re: Operators '=' ‘:=’ ‘::=’ in manual

2020-12-15 Thread DUDZIAK Krzysztof
THALES GROUP INTERNAL If variable is expanded recursively or simply this is determined at variable definition time. Expansion by itself can take place at the same variable definition time or when deferred at recipe execution time. Regardless which of the two mentioned times the expansion takes

RE: Operators '=' ‘:=’ ‘::=’ in manual

2020-12-15 Thread DUDZIAK Krzysztof
Variables defined using '=' are, according to manual' expanded recursively and they do allow self-referencing. However if one uses latter one, they land onto infinite recursion (as you mentioned). These are two separate questions * to be allowed * to result in some special effect > -Original

RE: Operators '=' ‘:=’ ‘::=’ in manual

2020-12-15 Thread DUDZIAK Krzysztof
> Expansion happens identically in all cases. .. > All variables are "recursively expanded" when they are expanded According to referred manual chapter for variables defined using ‘:=’ ‘::=’ expansion is flat, by no recursion. I don't get why not to account for 2-pass makefile parsing. 2-pass