[Issue 4459] bad format - phobos/std/all.d - 2.047
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 15 03:38:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4459
Glenn Haecker <ghaecker at idworld.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Phobos |make
AssignedTo|nobody at puremagic.com |bugzilla at digitalmars.com
--- Comment #1 from Glenn Haecker <ghaecker at idworld.net> 2010-08-15 03:38:05 PDT ---
The issue I reported in 2.047 is still present in 2.048.
I tracked it down to src/phobos/linux.mak
This does not generate a usable all.d file:
#--------------------------------------------------
std/all.d : $(MAKEFILE)
@echo module std.all\;\\n \
$(addprefix public import ,$(addsuffix \;\\n,$(STD_MODULES))) | \
sed -e 's|/|.|' -e '/public import std\.all/d' >$@
#--------------------------------------------------
bash and compatibles require the -e option with echo to process escaped
characters.
Adding -e, this generates the expected result:
#--------------------------------------------------
std/all.d : $(MAKEFILE)
@echo -e module std.all\;\\n \
$(addprefix public import ,$(addsuffix \;\\n,$(STD_MODULES))) | \
sed -e 's|/|.|' -e '/public import std\.all/d' >$@
#--------------------------------------------------
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list