http://d.puremagic.com/issues/show_bug.cgi?id=4014
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 AssignedTo: nob...@puremagic.com ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 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. Example: ---- 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. Using struc_lib slib = struc_lib.init; helps. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------