Bug 11127 – std.range.cycle linker errors

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-09-26T12:34:00Z
Last change time
2013-09-29T23:32:40Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2013-09-26T12:34:34Z
import std.range: cycle; void main() { cycle([1, 2]); } A dmd 2.064alpha gives: OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html temp.obj(temp) Error 42: Symbol Undefined _D3std5range13__T5CycleTAiZ5Cycle11__xopEqualsFKxS3std5range13__T5CycleTAiZ5CycleKxS3std5range13__T5CycleTAiZ5CycleZb temp.obj(temp) Error 42: Symbol Undefined _D3std5range13__T5CycleTAiZ5Cycle6__ctorMFNaNbNcNfAikZS3std5range13__T5CycleTAiZ5Cycle temp.obj(temp) Error 42: Symbol Undefined _D3std5range42__T4TakeTS€Š–13€ƒ–5CycleTAiZ€†ŠZ€…§11__xopEqualsFKx€‹¶€±Ì€¾¾Zb
Comment #1 by k.hara.pg — 2013-09-26T23:32:04Z
Comment #2 by github-bugzilla — 2013-09-29T23:32:18Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/af361175b4b4dfd23803156165695e5759cde1eb fix Issue 11127 - std.range.cycle linker errors https://github.com/D-Programming-Language/dmd/commit/49797979dd99b63b4362e775ab43f04bbc76d496 Merge pull request #2590 from 9rnsr/fix11127 [REG2.064a] Issue 11127 - std.range.cycle linker errors