Open jordisayol opened 11 years ago
I got these errors compiling with the last dmd 2.061 beta on Linux:
$ dmd -c -O -inline -release -m64 -ofobj/64/dstats/kerneldensity.o dstats/kerneldensity.d dstats/alloc.d(2520): Error: module std.range std.array.nDimensions(T) is private dstats/alloc.d(2520): Error: module dstats.alloc std.array.nDimensions(T) is private dstats/kerneldensity.d(470): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], ulong) error instantiating $ dmd -c -O -inline -release -m64 -ofobj/64/dstats/tests.o dstats/tests.d dstats/tests.d(1471): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(float[], uint) error instantiating dstats/tests.d(3629): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], uint) error instantiating $ dmd -c -O -inline -release -m64 -ofobj/64/dstats/regress.o dstats/regress.d dstats/regress.d(1046): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], ulong) error instantiating dstats/alloc.d(2225): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(ulong[], ulong) error instantiating dstats/alloc.d(2630): instantiated from here: arrayImplStack!(Result) dstats/regress.d(1066): instantiated from here: array!(Result) dstats/alloc.d(2630): Error: template instance dstats.alloc.RegionAllocator.arrayImplStack!(Result) error instantiating dstats/regress.d(1066): Error: template instance dstats.alloc.RegionAllocator.array!(Result) error instantiating dstats/regress.d(1312): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], immutable(ulong)) error instantiating dstats/regress.d(1324): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[][], immutable(ulong),immutable(ulong)) error instantiating dstats/regress.d(2090): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], int) error instantiating dstats/alloc.d(2630): instantiated from here: arrayImplStack!(const(double[])[]) dstats/regress.d(2092): instantiated from here: array!(const(double[])[]) dstats/alloc.d(2630): Error: template instance dstats.alloc.RegionAllocator.arrayImplStack!(const(double[])[]) error instantiating $ dmd -c -O -inline -release -m64 -ofobj/64/dstats/base.o dstats/base.d dstats/alloc.d(2531): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[], ulong) error instantiating dstats/base.d(1554): instantiated from here: uninitializedArray!(double[][], ulong,ulong) dstats/base.d(1554): Error: template instance dstats.alloc.RegionAllocator.uninitializedArray!(double[][], ulong,ulong) error instantiating
dmd v2.061 final release still raise these errors. If there is not a way to override them, dstats will be not usable till the next dmd release
I got these errors compiling with the last dmd 2.061 beta on Linux: