[Issue 16334] New: dmd producing invalid OMF file

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 29 05:23:31 PDT 2016


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

          Issue ID: 16334
           Summary: dmd producing invalid OMF file
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ketmar at ketmar.no-ip.org

the following file fails to link:

alias afunc = void function ();
afunc func = () { func = cast(afunc)null; };
void main () {}


the error is:

OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
xreader.obj(xreader)  Offset 002B5H Record Type 009D
 Error 16: Index Range

--


More information about the Digitalmars-d-bugs mailing list