[Issue 1070] New: can't use pragma to debug CTFE. DMD AV

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 19 23:35:17 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1070

           Summary: can't use pragma to debug CTFE. DMD AV
           Product: D
           Version: 1.009
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: davidl at 126.com


static char[] bug(char[] string)
{
        pragma(msg,string);
        return "";
}
void main()
{
        mixin(bug("asdfa"));
}

u can't use pragma to debug the CTFE.
though it's a feature request, yet dmd AV here.


-- 



More information about the Digitalmars-d-bugs mailing list