[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
https://issues.dlang.org/show_bug.cgi?id=1471 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|D1 D2 |D2 --
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2011-07-20 15:44:48 PDT --- https://github.com/D-Programming-Language/dmd/commit/be6a395ae8b36f2b62788ed00dddc502902c4c5f https://github.com/D-Programming-Language/dmd/commit/49375940e312d17fc975ab2f028df99f3e5eda1b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 --- Comment #6 from Walter Bright bugzi...@digitalmars.com 2011-07-20 15:48:06 PDT --- https://github.com/D-Programming-Language/dmd/commit/be6a395ae8b36f2b62788ed00dddc502902c4c5f https://github.com/D-Programming-Language/dmd/commit/49375940e312d17fc975ab2f028df99f3e5eda1b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch CC||k.hara...@gmail.com --- Comment #4 from Kenji Hara k.hara...@gmail.com 2011-07-14 04:24:28 PDT --- D2 patch: https://github.com/D-Programming-Language/dmd/pull/108 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 --- Comment #2 from kenn...@gmail.com 2011-06-30 10:25:34 PDT --- Reduced test case for 1.068: --- void main(){ const string s = BOOM; int gremlins = 0; string bar = s[gremlins .. $]; } --- Undefined symbols: _D1y4mainFZv8__dollark, referenced from: _D1y4mainFZv8__dollark$non_lazy_ptr in y.o (maybe you meant: _D1y4mainFZv8__dollark$non_lazy_ptr) ld: symbol(s) not found collect2: ld returned 1 exit status --- errorlevel 1 --- The equivalent for 2.054: --- void main(){ enum string s = BOOM; int gremlins = 0; string bar = s[gremlins .. $]; } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 kenn...@gmail.com changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #3 from kenn...@gmail.com 2011-06-30 10:25:49 PDT --- *** Issue 5062 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
http://d.puremagic.com/issues/show_bug.cgi?id=1471 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com Version|1.020 |D1 D2 --- Comment #1 from kenn...@gmail.com 2011-05-08 01:09:21 PDT --- Still not fixed in D2.052 :) - void explode(string foo)() { int gremlins = 0; string bar = foo[gremlins .. $]; } void main(){ explode!(BOOM)(); } - Undefined symbols: _D1x27__T7explodeVAyaa4_424f4f4dZ7explodeFZv8__dollark, referenced from: _D1x27__T7explodeVAyaa4_424f4f4dZ7explodeFZv8__dollark$non_lazy_ptr in x.o (maybe you meant: _D1x27__T7explodeVAyaa4_424f4f4dZ7explodeFZv8__dollark$non_lazy_ptr) ld: symbol(s) not found collect2: ld returned 1 exit status --- errorlevel 1 - '_D1x27__T7explodeVAyaa4_424f4f4dZ7explodeFZv8__dollark' means 'void x.explode!(BOOM).explode().uint __dollar'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---