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



--- Comment #1 from Trass3r <mrmoc...@gmx.de> 2010-08-10 07:31:31 PDT ---
Never mind, class is in that list because size() simply returns PTRSIZE.

So the question is if there are any forward reference cases where this patch
fails because of

unsigned AggregateDeclaration::size(Loc loc)
{
    //printf("AggregateDeclaration::size() = %d\n", structsize);
    if (!members)
        error(loc, "unknown size");
    if (sizeok != 1 && scope)
        semantic(NULL);
    if (sizeok != 1)
    {   error(loc, "no size yet for forward reference");
        //*(char*)0=0;
    }
    return structsize;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to