> > The define FPC_REQUIRES_PROPER_ALIGNMENT and the types TTypeData and > TPropData are definitely FPC and not Lazarus, so you should > report it as > a FPC bug. >
But lazarus is assuming they are packed... Rtl/objpas/typinfo.pp contains some helper functions to get PropInfo from Typeinfo. They are using constructs like PPropInfo(aligntoptr(pointer(@Result^.Name)+byte(Result^.Name[0])+1));. Shouldn't Lazarus do the same? Ludo -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus