[fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

Sven Barth pascaldragon at googlemail.com
Sat Aug 31 17:15:29 CEST 2019


Am 31.08.2019 um 14:31 schrieb fredvs:
> Hello everybody and specially Sven Barth.
>
> With last trunk of fpc, msegui is no more compatible with fpc.
> After big fight, it appears that commit of Sven Barth on Jul 13 2019, rev
> 42375 breaks compatibility --->
> "as attributes can be part of any type they are best suited in a common part
> of TTypeData"
>
> Could you give some light what to change to restore compatibility?
>
> The problems are with loading files, some structure are no more recognized.
>
> Note that there are no error message at compilation, nor when loading the
> files (so difficult to debug).
>
> Do you have a plan to give some infos of all what is changed in fpc and how
> to restore compatibility?
https://wiki.freepascal.org/User_Changes_Trunk#Type_information_contains_reference_to_attribute_table

I assume your code in msegui directly accesses the RTTI instead of using 
the types provided by the TypInfo unit. This is bound to break here and 
then when the RTTI is extended.

Regards,
Sven


More information about the fpc-pascal mailing list