bugmake - Bugs: bug #8476, bogus "missing `endif'"...

 
 

bug #8476: bogus "missing `endif'" error with $(eval)

Submitted by:  None
Submitted on:  Tue 06 Apr 2004 06:23:32 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: Any
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.

 

Tue 06 Apr 2004 08:26:54 PM UTC, comment #1:

This is a duplicate of bug #1516. You can find a patch attached to that bug.

Paul D. Smith <psmith>
Project Administrator
Tue 06 Apr 2004 06:23:32 PM UTC, original submission:

MACRO=
ifeq "" ""
$(eval $(MACRO))
endif

$ make -d
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Reading makefile `Makefile'...
Makefile:3: *** missing `endif'. Stop.
$

Moving the eval outside the conditional avoids the problem. make 3.80-6 from Debian testing/unstable.

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
Tue 06 Apr 2004 08:26:54 PM UTCpsmithStatusNone=>Duplicate
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1