[Issue 4324] New: Optlink silently ignores corrupt object file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 15 12:30:11 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4324

           Summary: Optlink silently ignores corrupt object file
           Product: D
           Version: unspecified
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Optlink
        AssignedTo: nobody at puremagic.com
        ReportedBy: torhu at yahoo.com


--- Comment #0 from torhu at yahoo.com 2010-06-15 12:30:09 PDT ---
Created an attachment (id=663)
Sample corrupt object file

This code compiled with DMD 1.062 results in a corrupt object file:


---
void main()
{
    char[] a;
    const b = "";

    a ~= b;
}
---

Optlink 8.00.1 prints this error handed that file:

OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
test.obj(test)  Offset 0018FH Record Type 009D
 Error 16: Index Range
--- errorlevel 1

Optlink 8.00.2 prints nothing, but doesn't produces an exe either.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list