[Issue 4013] New: Inconsistent codeview debug info for classes derived from IUnknown
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 27 01:14:53 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4013
Summary: Inconsistent codeview debug info for classes derived
from IUnknown
Product: D
Version: unspecified
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: r.sagitario at gmx.de
--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2010-03-27 01:14:34 PDT ---
IUnknown and any class derived from it have inconsistent codeview debug info:
dmd -g -c lib
module lib;
interface IUnknown
{
void foo();
}
compiles to
$$TYPES segment
00: LF_ARGLIST argcount=0
01: LF_VTSHAPE count=1 05
02: LF_CLASS count=1 <typidx 1007> property=x0000 <dList 0000> <vshape
1001> length=x0000 lib.IUnknown
03: LF_CLASS count=0 <typidx 0000> property=x0080 <dList 0000> <vshape
0000> length=x0000 IUnknown
04: LF_POINTER <x000a > <typidx 1003>
...
and later referencing the incomplete type 1003. Please note that the class is
called "lib.IUnknown" in one entry, but "IUnknown" in the other.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list