www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15833] New: [REG2.071b] -m32mscoff always fails to link


          Issue ID: 15833
           Summary: [REG2.071b] -m32mscoff always fails to link
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

Created attachment 1591
  --> https://issues.dlang.org/attachment.cgi?id=1591&action=edit
unresolved symbols

dmd -m32mscoff always fails to link in 2.071b1.
It works in 2.070.
And works with -m32 and -m64, too.
Removing the environment variables take no effects.

I suppose this a regression.
Anyone else ... ?

dmd -m32mscoff test.d

void main() { }

This code puts a number of unknown symbols and fails.
(such as EnterCriticalSection, VirtualFree, and so on)
See attached file.

Windows7 64-bit
VS2015 Community Ed., co-exists with VS2013 Community Ed.

Mar 25 2016