%% Robert Bogomip <[EMAIL PROTECTED]> writes:

  rb> Consider this makefile:
  rb>   t: m+=2

  rb>   t:
  rb>   @echo "[${m}]"

  rb> Then the following sort of works:

  rb>   $ make t
  rb>   [ 2]

This has been fixed in CVS (it just gives "[2]" again).

  rb> (Interestingly, make 3.78 produces a different result:

  rb>   $ make378 t
  rb>   [2]
  rb>   $

  rb> Hmmm.)

  rb> BUT the folowing crashes:

  rb>   $ make m=hello t
  rb>   make: expand.c:489: allocated_variable_append: Assertion 
`current_variable_set_list->next != 0' failed.
  rb>   Aborted (core dumped)
  rb>   $

This core dump has been fixed, too.

Unfortunately, now it prints this:

  "[hello hello]"

which is also wrong :(.  I'll look at it.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to