On 21.02.2011 11:53, Stephan wrote:
On 18.02.2011 11:18, Walter Bright wrote:
Now with 64 bit Linux support! (Though expect problems with it, it's
brand new.)
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.067.zip
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.052.zip
Nice release in theorie but since i did not get the time to test the
beta it seems some regressions made it into the release that rendered
my codebase unbuildable...
The problem is that i cannot reduce it properly. (win32, dmd 2.052)
1) Without changing anything suddenly i get linker errors. I am
building an executable linking in a static lib that contains some
methods using std.random.uniform. When i now try to build the
executable the linker complains about std.random.uniform not being
found. What the heck ? The whole rest of phobos is there and this is
missing ??
Having hit similar things earlier, I'll tell you my recipe. I usually
rebuild *everything* step by step starting with and including all 3rd
party D libraries with new dmd. And making sure nothing from old version
sliped on the path. Yes, that's tiresome, especially when you haven't
touch those libraries for quite a long time (assuming they are sort of
stable).
2) This one is really weird. After removing all the std.random.uniform
crap from above it compiles and links but crashes right in the
beginning befor even entering my main method. This just happens in
debug builds. Funny thing is that this is not due to some unittest of
mine. And correct me if i am wrong but phobos is shipped without
unittests either, right ?
Any help is welcome.
Stephan
--
Dmitry Olshansky