[dmd-beta] dmd 1.063 beta
Steve Schveighoffer
schveiguy at yahoo.com
Fri Jul 30 06:06:41 PDT 2010
Walter just fixed that, a new beta hasn't been released with it yet. See the
mailing list message that Walter sent just before yours.
-Steve
----- Original Message ----
> From: Fawzi Mohamed <fawzi at gmx.ch>
> To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> Sent: Fri, July 30, 2010 8:35:55 AM
> Subject: Re: [dmd-beta] dmd 1.063 beta
>
> Thanks for the release,
>
> It seems that dmd has gotten a bit worse about requiring "this" to address
>some elements/delegates.
>
> Nested structs/classes were always problematic, but now I have it in the
>following (non nested) snippet
>
> {{{
> module bug;
>
> alias void delegate( void*, void* ) scanFn;
>
> extern (C) void rt_scanStaticData( scanFn scan );
>
> struct Gcx{
>
> void mark(void *pbot, void *ptop) {
> fullcollect(pbot);
> }
>
> size_t fullcollect(void *stackTop)
> {
> rt_scanStaticData(&mark);
> return 0;
> }
>
> }
> }}}
> bug.d(15): Error: cannot cast from Gcx* to Gcx
>
> using &this.mark makes it work...
>
> PS I am really looking forward to 64-bit support
>
> Fawzi
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
More information about the dmd-beta
mailing list