On 21.02.2011 09: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 ??

Turns out the root of all evil are the version (ddoc) blocks in phobos. what a great idea to change method SIGNATURES using them. as soon as one uses those methods and tries to build ddocs out of the own code (using -D) methods get referenced that are not actually in the phobos lib. great idea since the signatures differ !
manifests in this bug btw:
http://d.puremagic.com/issues/show_bug.cgi?id=5642

I wish i had tested the beta before release..


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 ?

I still have no clue what this is about.

Any help is welcome.
Stephan

Reply via email to