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 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage 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)
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 File(s):
   
   
Comment:
   

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 15 Nov 2006 08:50:31 PM UTCpsmithStatusNone=>Duplicate
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1