You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Particularly, the import std.string in d3d11.d seems to be causing the error (when removed, no error).
To reproduce: build these DirectX bindings into a lib (the DirectX bindings depend on part of win32 ... working project and build attached). Then, write any program that imports windows.directx.d3d11 and compile it (of course, linking to the lib). Optlink will crash with this output:
OPTLINK (R) for Win32 Release 8.00.12Copyright (C) Digital Mars 1989-2010 All rights reserved.http://www.digitalmars.com/ctg/optlink.htmldxgi.lib Warning 2: File Not Found dxgi.libd3d11.lib Warning 2: File Not Found d3d11.lib..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA
Sorry that this test case is so large; it may be useless, but I felt it was better to report it than do nothing.
User @erisco responded (2012-09-01 15:25:51 CEST):
Transferred from: https://issues.dlang.org/show_bug.cgi?id=8606
User @erisco reported (2012-09-01 15:22:37 CEST):
User @erisco responded (2012-09-01 15:25:51 CEST):
User @NeilBryant responded (2012-11-09 14:19:36 CET):
The text was updated successfully, but these errors were encountered: