Fun: Shooting yourself in the foot in D

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 30 17:01:52 PDT 2016


On 10/30/2016 04:41 PM, captaindet wrote:

 >     ulong toe0 = 2;
 >     shared ulong toe1 = 2;
 >     shared ulong toe2 = 2;
 >     shared ulong toe3 = 2;

Those toes are toolong and one is already missing. Make sure that the 
-boundscheck compiler flag is set. :o)

Ali



More information about the Digitalmars-d mailing list