dmd 1.054 and 2.038 release

Michel Fortin michel.fortin at michelf.com
Fri Jan 1 09:10:47 PST 2010


On 2009-12-31 13:48:09 -0500, Walter Bright <newshound1 at digitalmars.com> said:

> Happy New Year!
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.054.zip
> 
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.038.zip
> 
> Many thanks to the numerous people who contributed to this update.

Thanks.

There's a quite annoying bug on Mac OS X that I've been able to reduce 
to a very simple test case. Depending on link order, static 
initializers might not work, resulting in, among other things, a 
non-functional writeln.

Also when that happens even 'throw' often does not work (execution 
continues after throw!). It seems linked. This makes 'enforce' 
non-functional and you get a null dereference when calling writeln 
instead of an exception.

The workaround seems to be to always link first the module containing 
'main'. But it's quite annoying that you can get a segfault with a 
program as simple as hello world split in two modules. Would it be 
possible to look at it?

<http://d.puremagic.com/issues/show_bug.cgi?id=3453>


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d-announce mailing list