[Issue 3808] Assertion Failure : Assertion failure: 'classinfo->structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 15 14:02:20 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3808
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-03-15 14:02:16 PDT ---
The error message should be improved. I suggest something like this:
toobj, line 995:
if (vtblInterfaces->dim)
{
- if (classinfo)
- assert(classinfo->structsize == CLASSINFO_SIZE);
+ if (classinfo && classinfo->structsize != CLASSINFO_SIZE)
+ error("Incorrect installation. D compiler and phobos' typeinfo are
mismatched");
offset = CLASSINFO_SIZE;
dtxoff(&dt, csym, offset, TYnptr); // (*)
--
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