bug-make
[Top][All Lists]
Advanced

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

[bug #56892] toxic combination of -include and match-anything rules


From: Paul D. Smith
Subject: [bug #56892] toxic combination of -include and match-anything rules
Date: Sat, 14 Sep 2019 17:29:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Follow-up Comment #3, bug #56892 (project make):

I can think of one way to address these types of issues that might not be too
impactful:

Make knows both how deep inside a recursion it is (via MAKELEVEL) and also how
many times its re-exec'd itself (via MAKE_RESTARTS).  It could check to see if
either of those values seems outrageous and stop.  For example, if our
MAKELEVEL is > 100 or our MAKE_RESTARTS > 1000, or something, we'd fail with
an error.

I don't know if we'd need to provide a way for the user to reset these limits
in case they had a legitimate need for "outrageous" values.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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