[Lazarus] RE : RE : RE : FPC_REQUIRES_PROPER_ALIGNMENT defined onSolaris causescrash in lazarus
Ludo Brands
ludo.brands at free.fr
Sat Jul 2 21:21:59 CEST 2011
> 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?
>
I'm working on a patch that uses GetPropList instead of walking through
TPropData. GetPropList is one of the helpers in Rtl/objpas/typinfo.pp and
knows about the alignment.
Ludo
More information about the Lazarus
mailing list