* don't insert bogus vmt field in forward-defined classes

git-svn-id: trunk@14961 -
This commit is contained in:
Jonas Maebe 2010-03-01 14:57:14 +00:00
parent 151fab0548
commit e693b47234

View File

@ -955,6 +955,7 @@ implementation
{ generate vmt space if needed }
if not(oo_has_vmt in current_objectdef.objectoptions) and
not(oo_is_forward in current_objectdef.objectoptions) and
(
([oo_has_virtual,oo_has_constructor,oo_has_destructor]*current_objectdef.objectoptions<>[]) or
(current_objectdef.objecttype in [odt_class])