www.digitalmars.com         C & C++   DMDScript  

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

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

          Issue ID: 13703
           Summary: "Error 16: Index Range" reported incorrectly on
                    windows
           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.
http://www.digitalmars.com/ctg/optlink.html
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:
https://github.com/bitwise-github/D-Reflection/

--
Nov 09 2014