[Issue 1471] Linker error on template function. Error 42: Symbol Undefined ...
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 8 01:13:17 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1471
kennytm at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kennytm at gmail.com
Version|1.020 |D1 & D2
--- Comment #1 from kennytm at 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: -------
More information about the Digitalmars-d-bugs
mailing list