www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15729] New: [REG(master)] broken library causes OPTLINK error

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

          Issue ID: 15729
           Summary: [REG(master)] broken library causes OPTLINK error 162
                    and 163
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

This is a git head regression and is a BLOCKER problem in Windows.

I have tested on Windows 7 64-bit, but with -m32.

CODE:
test.d
import std.string; // or import std.uni;

main.d
void main() { }

COMMAND:
dmd -g -debug -lib test.d
dmd -g main.d test.lib

OUTPUT:
 Error 163: Cannot CVPACK Type 0002


As my whole project, moreover I get numerous '162' errors.

--
Feb 26 2016