bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60736] Introduce "Circular <file> <- <file> dependency dropped." f


From: Paul D. Smith
Subject: [bug #60736] Introduce "Circular <file> <- <file> dependency dropped." for .EXTRA_PREREQS deps.
Date: Sat, 23 Apr 2022 14:01:42 -0400 (EDT)

Follow-up Comment #4, bug #60736 (project make):

The reason the exception exists is so that you can specify an extra target
globally.  You are testing a target-specific variable version, but if you set
this globally:


.EXTRA_PREREQS = foo

bar foo: ; @echo $@


This will always generate a warning, if this patch is applied.  This makes the
whole concept of setting this variable globally essentially not useful: no one
wants to have warnings like this always generated.

I understand that not having this warning can mean that a typo can go
unnoticed but I'm not sure I agree that forcing this warning on all users of
the global assignment is a better alternative.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60736>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]