https://issues.dlang.org/show_bug.cgi?id=16313
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from RazvanN <[email protected]> --- (In reply to Jorge Lima from comment #3) > (In reply to RazvanN from comment #2) > > Just tested on Windows with git HEAD and the issue is still present. On > > Ubuntu 16.04 the issue is not present. Changing description to Windows > > I tested before with release 2.072.0 and the problem was fixed. See my > previous comment from 2016-11-25. However. at the time, I didn't check on > all platforms > Triggered by your comment, I tested now the release 2.076.1 on the following > platforms > > Ubuntu 16.04 64bit: passed > OS X 10.10: passed > Windows 10 64bit: failed but due to a different issue. See below. > > > dmd snippet.d > OPTLINK (R) for Win32 Release 8.00.17 > Copyright (C) Digital Mars 1989-2013 All rights reserved. > http://www.digitalmars.com/ctg/optlink.html > teste.obj(teste) Offset 00370H Record Type 009D > Error 16: Index Range > Error: linker exited with status 1 > > I noticed OPTLINK is for Win32. Weird! So I passed the option -m64 to dmd > to force it to use the microsoft linker. > > > dmd -m64 snippet.d > > And it compiled the snippet without errors. > > So I would say this problem seems to be fixed! Cool! I had the same error weird error and I thought that was the issue. Thanks a lot. Closing as fixed --
