[Issue 13898] New: Link error from std.stdio readRaw

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 26 16:25:31 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13898

          Issue ID: 13898
           Summary: Link error from std.stdio readRaw
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: qctechs at gmail.com

Created attachment 1462
  --> https://issues.dlang.org/attachment.cgi?id=1462&action=edit
Log file of the issue generated using "dub build --build release &> log.txt"

Attempting to build using DUB, in release build mode, on OS X, in 64 bit, using
DMD, produces a linking error.

This error does not occur with LDC or in debug build mode.

The error is caused by calls to readRaw from the std.stdio module. Commenting
these in my source code fixes the problem.

The calls in question:

https://github.com/DDoS/GBAiD/blob/master/src/gbaid/memory.d#L925
https://github.com/DDoS/GBAiD/blob/master/src/gbaid/memory.d#L929
https://github.com/DDoS/GBAiD/blob/master/src/gbaid/memory.d#L937

The error log has been attached

--


More information about the Digitalmars-d-bugs mailing list