[Issue 5950] Linker problem with AA.get()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 8 00:23:01 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5950
kennytm at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kennytm at gmail.com
OS/Version|Windows |All
--- Comment #1 from kennytm at gmail.com 2011-05-08 00:19:05 PDT ---
Reproducible on Mac OS X. The missing symbol demangled is
immutable(char)[] object.AssociativeArray!(char,
immutable(char)[]).AssociativeArray.get(char, lazy immutable(char)[])
It is probably a regression since I can't reproduce it on ideone which uses
2.042, but it may simply be that the error doesn't manifest on Linux.
Reduced test case:
--------------------------
import std.stdio; // <-- the import is necessary to trigger the bug!
void main() {
string[char] tab; // <-- must be a string[char]?
tab.get('c', "");
}
--------------------------
Undefined symbols:
"_D6object28__T16AssociativeArrayTaTAyaZ16AssociativeArray3getMFaLAyaZAya",
referenced from:
__Dmain in x.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
--- errorlevel 1
--------------------------
--
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