DMD 1.037 and 2.020 releases

Sean Kelly sean at invisibleduck.org
Tue Nov 25 17:03:52 PST 2008


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> 1.037 compiles my dlibs fine :-) And with no other increase of exe size.
> Thank you for fixing 929, ASAP I'll remove about 100-150 lines of code from my dlibs :-)
> Also thank you for 1797, a little problem, but nice to have it fixed.
> I am sad reading Derek Parnell say that 313 isn't fixed yet.
> From D2:
> - What is module(system) Identifier; syntax?

I think this is to tell the compiler that the module is a "system" module
and therefore should be exempt from "Safe D" checking.

> - >The 'this' parameter to struct member functions is now a reference type,< I know this was
discussed, but how does this change code? Does this forces to change C code when it is ported to D?
How to do such porting? Few examples of situations may be useful.

I think it only affects structs:

struct S
{
    S fn()
    {
        return *this; // old D 2.0
        return this; // new D 2.0
    }
}


Sean


More information about the Digitalmars-d-announce mailing list