DWScript
DWScript copied to clipboard
TdwsRTTIInvoker.ValueFromIInfo
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.