Re: dmd 1.056 and 2.040 release

2010-01-30 Thread KennyTM~
On Jan 30, 10 15:13, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Is the

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Lutger
This release makes me smile. Thank you so much Walter, and everybody who contributed too.

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread torhu
On 30.01.2010 09:32, KennyTM~ wrote: On Jan 30, 10 15:13, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread bearophile
Regarding this: Bugzilla 3556: version(CTFE) I have written the following little D2 program: import std.stdio: printf; static if (__ctfe) { int foo() { return 1; } } else { int foo() { return 2; } } enum int x1 = foo(); void main() { int x2 = foo();

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Jacob Carlborg
On 1/30/10 08:13, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Very nice. What

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Ary Borenszweig
Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Very nice! Each release kills a

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Yao G
Walter Bright Wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Looks like this doesn't

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Robert Jacques
On Sat, 30 Jan 2010 10:56:28 -0500, Ary Borenszweig a...@esperanto.org.ar wrote: Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Andrei Alexandrescu
Ary Borenszweig wrote: Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Very

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Walter Bright
bearophile wrote: Can you tell me the purpose of the following 3 changes? ModuleInfo changed from class to struct Eliminate unnecessary dependencies on Object's vtbl[] added static/final function implementations to interfaces Support NVI (Non Virtual Inheritance) idiom.

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Walter Bright
Yao G wrote: The exception is thrown from the runtime initializer. It used to work with the previous DMD version (2.039). I think that the change of ModuleInfo from class to struct somehow affected this (just speculating). Make sure you recompile everything, or you'll get crashes.

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Michel Fortin
$ dmd Digital Mars D Compiler v2.040 Copyright (c) 1999-2009 by Digital Mars written by Walter Bright Interestingly, copyright date is still 2009. Is this a bug or a feature? -- Michel Fortin michel.for...@michelf.com http://michelf.com/

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Walter Bright
Michel Fortin wrote: $ dmd Digital Mars D Compiler v2.040 Copyright (c) 1999-2009 by Digital Mars written by Walter Bright Interestingly, copyright date is still 2009. Is this a bug or a feature? It takes a while for me to get all the years changed.

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Jacob Carlborg
On 1/30/10 14:24, grauzone wrote: Jacob Carlborg wrote: On 1/30/10 08:13, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread strtr
Walter Bright Wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! Do you ever find new bugs

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Simen kjaeraas
Walter Bright newshou...@digitalmars.com wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.056.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip Thanks to the many people who contributed to this update! D2

Re: dmd 1.056 and 2.040 release

2010-01-30 Thread Michel Fortin
On 2010-01-30 02:13:48 -0500, Walter Bright newshou...@digitalmars.com said: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.040.zip It's great to have TLS working on Mac OS X. But it looks like it suffers from the same linking problem as the module info