18.08.2012 14:33 пользователь "Marc Espie" <[email protected]>
написал:
>
> Our make currently "misbehaves" and doesn't treat this as a problem.
>
> A=a
>
> a:
>         echo ${A
>
>
> there are several possibilities.
> 1/ do like gmake and treat this as an actual error.
> 2/ keep the status quo
> 3/ do something else: if it's not a complete variable reference, then it
> should be seen as a string
>
>
> 2/ is error-prone.
> 1/ is easy to implement
> 3/ is a bit more complex but probably more compatible with lots of stuff.
>
>
> Opinions ? examples of Makefiles where something similar would actually
> be used ?

What stuff could ever rely on current behaviour? If it's in our src tree,
then it should be fixed. If it's in some other tree, it'll not rely on this
behavior either (especially due to popular "everyone uses G** Make" mantra
outta there). No? And in any case, the way from (1) to (3) will not beak
anything, if it'll be ever chosen later.

These are just my 2 kopeykas, as I'm not a developer, of course.

Reply via email to