Subject: [bug #18116] filter_out functions seems to always
return an empty result - msg#00022
Follow-up Comment #1, bug #18116 (project make):
>
test=$(filter_out $(mains),$(objects))
You misspelled the function: it's "filter-out" with a hyphen, not an
underbar.
Philip Guenther
_______________________________________________________
Reply to this item at:
<
http://savannah.gnu.org/bugs/?18116>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Thread at a glance:
Previous Message by Date:
[bug #18116] filter_out functions seems to always return an empty result
URL:
<http://savannah.gnu.org/bugs/?18116>
Summary: filter_out functions seems to always return an
empty result
Project: make
Submitted by: None
Submitted on: jeudi 26.10.2006 Ã 09:43 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18116>
_______________________________________________
Message postà via/par Savannah
http://savannah.gnu.org/
Next Message by Date:
[bug #18116] filter_out functions seems to always return an empty result
Update of bug #18116 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
As Philip says, the problem is in the makefile. If you still have issues
after correcting that, post it here.
Cheers!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18116>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Previous Message by Thread:
[bug #18116] filter_out functions seems to always return an empty result
URL:
<http://savannah.gnu.org/bugs/?18116>
Summary: filter_out functions seems to always return an
empty result
Project: make
Submitted by: None
Submitted on: jeudi 26.10.2006 Ã 09:43 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18116>
_______________________________________________
Message postà via/par Savannah
http://savannah.gnu.org/
Next Message by Thread:
[bug #18116] filter_out functions seems to always return an empty result
Update of bug #18116 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
As Philip says, the problem is in the makefile. If you still have issues
after correcting that, post it here.
Cheers!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18116>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/