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

 
 

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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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)
endif

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

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

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.14-8aba.
Corresponding source code