Access Violation in callback from sort

Ali Çehreli acehreli at yahoo.com
Thu Mar 21 16:59:10 PDT 2013


On 05/02/2012 08:27 AM, Jabb wrote:

 > Alone this works just fine. But if I add another file called myalgs.d,
 > and put the following in it:
 >
 > //------------------
 > module myalgs;
 > import std.algorithm;
 > //------------------
 >
 > Then I get the following exception:
 >
 > object.Error: Access Violation

I can reproduce the bug with 2.062 as well as an earlier development 
build of 2.063 (a fresher dmd does not build at the moment.)

I have found a workaround: Put the second file later in the dmd command 
line:

   dmd main.d myalgs.d

Ali



More information about the Digitalmars-d-learn mailing list