digitalmars.D.bugs - [Issue 13400] New: Linking problems with bigints and
- via Digitalmars-d-bugs (38/38) Aug 30 2014 https://issues.dlang.org/show_bug.cgi?id=13400
https://issues.dlang.org/show_bug.cgi?id=13400 Issue ID: 13400 Summary: Linking problems with bigints and std.functional.memoize Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid Severity: regression Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: bearophile_hugs eml.cc Since some days the latest dmd 2.067alpha gives me linking problems (I think it's not a dmd problem, but a Phobos/runtime one): import std.bigint: BigInt; import std.functional: memoize; BigInt foo(int[] c) { BigInt r; r += memoize!foo([]); return r; } void main() { bool b = foo([0]) == BigInt("2"); } OPTLINK (R) for Win32 Release 8.00.15 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html test.obj(test) Error 42: Symbol Undefined _D3std6bigint6BigInt13__T8opEqualsZ8opEqualsMxFNaNbNiNfxS3std6bigint6BigIntZb test.obj(test) Error 42: Symbol Undefined _D3std6bigint6BigInt33__T8opAssignTS3std6bigint6BigIntZ8opAssignMFNaNbNiNfS3std6bigint6BigIntZS3std6bigint6BigInt --- errorlevel 2 --
Aug 30 2014