bug-make
[Top][All Lists]
Advanced

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

[bug #64185] *** only one 'else' per conditional. Stop. due to else in r


From: Dmitry Goncharov
Subject: [bug #64185] *** only one 'else' per conditional. Stop. due to else in recipe
Date: Sat, 13 May 2023 13:29:07 -0400 (EDT)

Follow-up Comment #2, bug #64185 (project make):

It is also necessary to ignore rule definitions in the branches which are not
taken from the point of view of correctness.


all: hello.tsk
hello=1
ifdef hello
hello.tsk:; echo true
else
hello.tsk:; echo false
endif


Here, we need the 'echo true' rule to be defined. If make honored the else
branch, then make would've redefined 'echo true' with 'echo false'.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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