mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:09:14 +02:00
* don't create RTTI for internally generated recorddefs (doing so can cause
undefined references to RTTI for some of the fields, and we don't need it anyway because these types are not user-visible and we don't generate variables of these types) git-svn-id: trunk@30945 -
This commit is contained in:
parent
0eab091e1a
commit
48ffe7b033
@ -4077,6 +4077,8 @@ implementation
|
|||||||
current_module.globalsymtable.insert(ts);
|
current_module.globalsymtable.insert(ts);
|
||||||
end;
|
end;
|
||||||
symtablestack:=oldsymtablestack;
|
symtablestack:=oldsymtablestack;
|
||||||
|
{ don't create RTTI for internal types, these are not exported }
|
||||||
|
defstates:=defstates+[ds_rtti_table_written,ds_init_table_written];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user