cristicbz / scid

Scientific library for the D programming language
Boost Software License 1.0
23 stars 8 forks source link

regionallocator.d causes build fail #57

Closed MaksimZh closed 13 years ago

MaksimZh commented 13 years ago

The library fails to build because of the following errors:

regionallocator.d(289): Error: pure nested function 'nLargeObjects' cannot access mutable data 'i' regionallocator.d(295): Error: pure nested function 'nExtraSegments' cannot access mutable data 'i' regionallocator.d(949): Error: cannot evaluate isPowerOf2(16LU) at compile time regionallocator.d(949): Error: static assert (isPowerOf2(16LU)) is not evaluatable at compile time

OS: Linux Platform: x64 Compiler: DMD64 D Compiler v2.054

dsimcha commented 13 years ago

Hmm, I think I noticed that with stock 2.054. I've been using Git head builds (I think Cristi's been doing the same) and it works fine on these. I'm not sure if this is even worth fixing because SciD is so horribly broken for other reasons on stock 2.054 anyhow, for reasons that are fixed on Git head.

MaksimZh commented 13 years ago

Thank you! I've installed dmd from github sources and now everything works.