www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13703] New: "Error 16: Index Range" reported incorrectly on


          Issue ID: 13703
           Summary: "Error 16: Index Range" reported incorrectly on
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: nicolas.jinchereau gmail.com

This project compiles fine on MacOSX.

On windows, I get the following error:

OPTLINK (R) for Win32  Release 8.00.15
Copyright (C) Digital Mars 1989-2013  All rights reserved.
obj\Debug\TestD.obj(TestD)  Offset 1E6ADH Record Type 009D 
 Error 16: Index Range 
--- errorlevel 1

I believe this is a bug in the linker.

The project(small) can be found here:

Nov 09 2014