LDC 0.13.0 alpha 2 released! Please help test!

Kai Nacke kai at redstar.de
Sun Apr 13 22:57:06 PDT 2014


Hi bearophile!

On Saturday, 29 March 2014 at 18:59:43 UTC, bearophile wrote:
> This second program still crashes at run-time (Windows 32 bit):
> http://rosettacode.org/wiki/Sokoban#Faster_Version

I identified the problem. The program declares a static array 
with zero elements. Using the ptr property of this member leads 
to the crash. If you change CellIndex[0] c_; to CellIndex[1] c_; 
then the crash is gone.

With this reduced test case I know need to figure out whats going 
on here. I opened issue #598 
(https://github.com/ldc-developers/ldc/issues/598) to track this 
problem.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list