bugmake - Bugs: bug #18312, $(eval) within conditionals causes...


bug #18312: $(eval) within conditionals causes make to stop with syntax error

Submitted by:  None
Submitted on:  Wed 15 Nov 2006 08:45:36 PM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.80 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 15 Nov 2006 08:50:31 PM UTC, comment #1: 

This bug was already fixed in GNU make 3.81.  Thanks for the report!

Paul D. Smith <psmith>
Project Administrator
Wed 15 Nov 2006 08:45:36 PM UTC, original submission:  

If a $(eval) is within a conditional, then make fails and
states that endif is missing:

# Demonstrates that $(eval) fails within conditionals

ifeq "x" "x"
$(eval y=3)

when running make with the above being the content of Makefile,
this is what happens:

zoltan@NSWHP032:~> make
Makefile:6: *** missing `endif'.  Stop.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-15 psmith StatusNone => Duplicate
    Open/ClosedOpen => Closed

Back to the top

Powered by Savane 3.5