Skip to content

TdwsRTTIInvoker.ValueFromIInfo #25

@Molochnik

Description

@Molochnik

On Delphi 11/12
DynArraySetLength as the last parameter accepts PNativeInt
so please change the local vars in the function TdwsRTTIInvoker.ValueFromIInfo to:
var
LLen: NativeInt;
Index: NativeInt;

On Linux its critical
Actually the problem could be easily found when setting {$T+} in the dwsRTTIExposer.pas. I dont think it was a good idea to explicitly set {$T-} for ALL DWScript modules as it is done now via inc file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions