dsimcha wrote:
== Quote from dsimcha (dsim...@yahoo.com)'s article
== Quote from Walter Bright (newshou...@digitalmars.com)'s article
This is a major revision to Phobos, including Andrei's revolutionary new
range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
Two small issues I've just run into that might warrant a quick update:
Line 908 in random.d calls the deprecated rand_seed() for the old school random
number generators from the static constructor.  This means that std.random just
plain can't be used out of the box.
Also, when using std.string, I get the following linker errors on the Win32 
build:
Symbol Undefined _D3std6string6striprFAyaZAya
Symbol Undefined _D3std6string6striplFAyaZAya

Never mind on the linker error.  That was caused by me forgetting to recompile
parts of my code.  The random thing looks legit, though.

Ok, I've undeprecated rand_seed, sigh. I was hoping I'd eliminate rand() entirely from this release, but Walter pointed out it would break too much code. So I left rand() and rand_seed() as deprecated. Now I only left rand() deprecated so at least the static constructor works.


Andrei

Reply via email to