[Issue 8542] crosstalk between template instantiations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 3 21:39:22 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8542



--- Comment #6 from hsteoh at quickfur.ath.cx 2013-01-03 21:39:09 PST ---
Here's an unexpected data point: I discovered that this bug may be linked to
the -property compiler flag. To reproduce this odd effect, checkout the code
from: https://github.com/D-Programming-Language/phobos/pull/856, build Phobos
without unittest, then check the output of the following commands (I tested
this on Linux/64):

1) This one compiles just fine:

dmd -unittest -m64 std/algorithm.d generated/linux/debug/64/emptymain.d
-of/tmp/x

2) This one produces a whole bunch of template crosstalk errors:

dmd -property -unittest -m64 std/algorithm.d
generated/linux/debug/64/emptymain.d -of/tmp/x

-- 
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