Bug 5701 – Broken ddoc build using core.bitop.bswap

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2011-03-04T15:18:00Z
Last change time
2011-07-03T07:09:15Z
Assigned to
nobody
Creator
regan

Comments

Comment #0 by regan — 2011-03-04T15:18:49Z
Using dmd v2.052 and link.exe 8.00.10 module main; import core.bitop; void main(string[] argv) { int a = 5; a = bswap(a); } dmd -D ddoc_bitop_bug.d OPTLINK (R) for Win32 Release 8.00.10 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html ddoc_bitop_bug.obj(ddoc_bitop_bug) Error 42: Symbol Undefined _D4core5bitop5bswapFkZk --- errorlevel 1
Comment #1 by yebblies — 2011-07-03T07:09:15Z
This works for me with current dmd (2.054)