[Issue 9576] New: "Symbol Undefined" linker error on using `std.random.MinstdRand`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 23 01:34:41 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9576
Summary: "Symbol Undefined" linker error on using
`std.random.MinstdRand`
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: link-failure
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: verylonglogin.reg at gmail.com
--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-02-23 12:34:40 MSK ---
---
import std.random;
void main(string[] args)
{
MinstdRand gen;
gen.popFront();
}
---
Linker output:
---
main.obj(main)
Error 42: Symbol Undefined
_D3std6random54__T24LinearCongruentialEngineTkVi48271Vi0Vi2147483647Z24LinearCongruentialEngine8popFrontMFNaNbZv
---
Demangled:
---
pure nothrow void std.random.LinearCongruentialEngine!(uint, 48271, 0,
2147483647).LinearCongruentialEngine.popFront()
---
dmd: 3bdb6dd142de510ca3254a4096ca38e4faadb254
druntime: af3e914ce5c9e7baad61e305886c7a5430674667
phobos: e2692d1d0f9bb0ef9a25722474e324e60e5fb32d
--
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