DMD 1.027 and 2.011 releases
    Extrawurst 
    spam at extrawurst.org
       
    Tue Feb 19 15:18:57 PST 2008
    
    
  
Wow what a huge changelist for the std lib, awesome !
But i wonder about one thing:
[CODE]
class Foo {
   int foo() {
       synchronized(this){
           return 8;
       }
   }
}
[/CODE]
why does 2.011 in contrast to the previous 2.010 warn me with "warning - 
main.d(3): function main.Foo.foo no return at end of function" ? why is 
this a probem suddenly ? i have plenty of this warnings spit out in my 
project now ;(
Walter Bright schrieb:
> A whole lotta library improvements.
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.027.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.011.zip
>
> I had planned on doing struct destructors for this update, but they 
> are not done yet.
    
    
More information about the Digitalmars-d-announce
mailing list