Thread overview
[Issue 1104] New: CodeView: char is marked 0x20 (T_UCHAR) instead of 0x10 (T_CHAR)
Apr 06, 2007
d-bugmail
Apr 06, 2007
d-bugmail
Apr 19, 2007
d-bugmail
Jun 30, 2007
d-bugmail
Jun 30, 2007
d-bugmail
Jul 01, 2007
d-bugmail
April 06, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104

           Summary: CodeView: char is marked 0x20 (T_UCHAR) instead of 0x10
                    (T_CHAR)
           Product: D
           Version: 1.010
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: jascha@mainia.de


char is marked in CV data as type 0x20 T_UCHAR - should be 0x10 T_CHAR


-- 

April 06, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104





------- Comment #1 from jascha@mainia.de  2007-04-06 08:38 -------
better: mark char as 0x70 T_RCHAR (real char)

byte is 0x10 T_CHAR
ubyte is 0x20 T_UCHAR
therefore char shouldn't be any of these two


-- 

April 19, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104





------- Comment #2 from jascha@mainia.de  2007-04-19 11:34 -------
this problem extends to wchar and dchar with the corresponding 16 and 32bit CV types


-- 

June 30, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104





------- Comment #3 from bugzilla@digitalmars.com  2007-06-30 00:39 -------
I can use T_WCHAR (x71) for wchar, but what do I use for dchar?


-- 

June 30, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104





------- Comment #4 from jascha@mainia.de  2007-06-30 10:22 -------
i'd suggest a static array of 2 T_WCHARs. alternatively, 0x78 seems to be undefined...


-- 

July 01, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1104





------- Comment #5 from bugzilla@digitalmars.com  2007-07-01 14:11 -------
T_RCHAR and T_WCHAR are now done, but not the dchar one.


--