|
| From: | Paul D. Smith |
| Subject: | [bug #40801] $(info), $(warning), $(error) are evaluated in a comment in a define |
| Date: | Mon, 06 Jan 2014 20:17:50 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
Update of bug #40801 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
This isn't a bug, IMO. The call function is not evaluating its argument as if
it were makefile syntax. It's simply expanding the contents of the variable
just as referencing it with $(def) would, and variable values are not parsed
for comments (or other special characters, besides "$").
If you want to interpret the contents of the variable as if it were a makefile
snippet you should use the eval function instead; this:
define def
# $(error not an error anymore)
endef
$(eval $(value def))
all:
won't fail.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40801>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |