www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16515] New: Linker Error When Using -debug


          Issue ID: 16515
           Summary: Linker Error When Using -debug
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: gyroheli gmail.com

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

I get a linker error for "test.v" even though "test.q" is never used. If you
remove the "test.v" member from "test.q" then the linker error no longer

struct Q(_T)
    V!(1, _T) v; // removing this fixes link error

Sep 20 2016