bugmake - Bugs: bug #18116, filter_out functions seems to...

 
 

bug #18116: filter_out functions seems to always return an empty result

Submitted by:  None
Submitted on:  Thu 26 Oct 2006 09:43:03 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating 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.

 

Thu 26 Oct 2006 12:00:50 PM UTC, comment #2:

As Philip says, the problem is in the makefile. If you still have issues after correcting that, post it here.

Cheers!

Paul D. Smith <psmith>
Project Administrator
Thu 26 Oct 2006 11:00:00 AM UTC, comment #1:

> test=$(filter_out $(mains),$(objects))


You misspelled the function: it's "filter-out" with a hyphen, not an underbar.

Philip Guenther

Anonymous
Thu 26 Oct 2006 09:43:03 AM UTC, original submission:

Here is an instance of Makefile that shows the issue (from the example given in the manual):
### begin example
objects=main1.o foo.o main2.o bar.o
mains=main1.o main2.o
test=$(filter_out $(mains),$(objects))

all:
@echo "objects: " $(objects)
@echo "mains: " $(mains)
@echo "test: " $(test)

### end example
tmp $ make
objects: main1.o foo.o main2.o bar.o
mains: main1.o main2.o
test:

The last line of output should be test: foo.o bar.o
OTOH filter works as expected

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
Thu 26 Oct 2006 12:00:50 PM UTCpsmithStatusNone=>Not A Bug
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1