D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5701 - Broken ddoc build using core.bitop.bswap
Summary: Broken ddoc build using core.bitop.bswap
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Windows
: P2 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 15:18 UTC by Regan Heath
Modified: 2011-07-03 07:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Regan Heath 2011-03-04 15:18:49 UTC
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 yebblies 2011-07-03 07:09:15 UTC
This works for me with current dmd (2.054)