mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:59:10 +02:00
* don't insert bogus vmt field in forward-defined classes
git-svn-id: trunk@14961 -
This commit is contained in:
parent
151fab0548
commit
e693b47234
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user