> [TJITForms.DoCreateJITComponent] Error Error: CreateNewClass > new aligned > TypeData > Stack trace: > $00719F38 TJITCOMPONENTLIST__CREATENEWJITCLASS, line 1473 of > /usr/local/share/lazarus-newstable/designer/jitforms.pp
I haven't run into that one. Looking at jitforms.pp, the code checks whether the PTypeData points to the location after Typeinfo.name and raises the exception if it isn't the case. To be confirmed by the developer that wrote the code but I guess the purpose was to anticipate alignment problems such as the one I fixed. If that is the case then the check could simply be removed. While I was trying to provoke a misalignment in jitforms.pp by changing the name of the component I ran into another alignment problem in StdCodeTools. Yet another location where pointer arithmetic is used to get ppropinfo from typedata. I guess we'll have to weed them out as they are encountered... Ludo -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
