bugmake - Bugs: bug #10863, Problem with $(eval ... )

 
 

bug #10863: Problem with $(eval ... )

Submitted by:  None
Submitted on:  Mon 01 Nov 2004 09:13:33 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.

 

Mon 01 Nov 2004 09:35:33 PM UTC, comment #1:

This is a duplicate of bug # 1516. See that bug for a patch.

Paul D. Smith <psmith>
Project Administrator
Mon 01 Nov 2004 09:13:33 PM UTC, original submission:

I used $(eval...) along with $(foreach...) to preform file includes based on a variable containing a list of directories.

After including 2 files it complains of a missing endif statement in a location odd location.

I have attached a example. Just untar the example and type 'make -d' in the root directory and you should get the following:

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'...
Reading makefile `a/Rules.mk' (search path) (no ~ expansion)...
Reading makefile `a/a/Rules.mk' (search path) (no ~ expansion)...
a/Rules.mk:20: *** missing `endif'. Stop.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1954:  make_example.tgz added by None (835B - application/x-gzip)

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 01 Nov 2004 09:35:33 PM UTCpsmithStatusNone=>Duplicate
  Open/ClosedOpen=>Closed
Mon 01 Nov 2004 09:16:58 PM UTCrlogelCarbon-Copy-=>Added rlogel
Mon 01 Nov 2004 09:13:33 PM UTCNoneAttached File-=>Added make_example.tgz, #1826

Back to the top


Powered by Savane 3.1-cleanup1