Linker error on Windows - Is there a bug fix / work around?

Kai Nacke via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 25 04:08:56 PDT 2016


Hi!

I only rarely use dmd so forgive me if this is a known issue.

If you compile the Chapter4\noteapp2 application on Windows from 
my book (using dmd 2.071.0) then you get the error:

OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
.dub\build\application-debug-windows-x86-dmd_2071-B4EE3FC00CF6CA600F2FCC18096C25E0\noteapp2.obj(noteapp2)  Offset 29B9AH Record Type 009D
  Error 16: Index Range
--- errorlevel 1

How can I work around this error? The application compiles & runs 
fine on Linux.
Would it be worth to try to use -mscoff?

Regards,
Kai


More information about the Digitalmars-d mailing list