Summary: CodeView debug type info not linked in from library
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Rainer Schuetze <> 2010-03-27 01:33:12 
PDT ---
If a class is defined in a library, the debug info describing that class is not
linked into an executable, if it does not reference the init-property.

module lib;

struct struc_lib
    int a, b;

dmd -g -lib lib
module test;
import lib;

void main()
    struc_lib slib;
dmd -g test lib.lib

This produces incomplete debug info for struc_lib.


    struc_lib slib = struc_lib.init;


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to