renan-guimaraes / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

64-bit compiler error in dwsJSON.pas #319

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The 64-bit compiler in Delphi XE2 throws an exception on line 240 in 
dwsJSON.pas in the latest revision.

The line:
TdwsJSONValueArray = array [0..MaxInt shr 3] of TdwsJSONValue;

The error:
[DCC Error] dwsJSON.pas(240): E2100 Data type too large: exceeds 2 GB

Shrinking the array on 64-bits should offer a solution, as the pointer size is 
doubled.

Original issue reported on code.google.com by frederic...@gmail.com on 22 Dec 2012 at 9:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1681.

Original comment by zar...@gmail.com on 31 Dec 2012 at 8:25