fatal-error with local arrays in procedures
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
if I declare an array greater than 262132 bytes
while in a procedure filling every element with
a value will cause the program to crash at exit.
But if I declare an array with 500000 bytes and
fill the first 262133 elements with a value, then no error appears. It would be stupid if I have to
declare each array over 262132 bytes with more bytes than I am needing. What can I do to prevent this error?
Additional information:
Reporter: Ulf Reimers
EMail: ulfi at gmx dot net
Mantis conversion info:
- Mantis ID: 2430
- OS: All
- Version: ?
- Fixed in version: 0.99.11