dmd 1.049 and 2.034 release

Moritz Warning moritzwarning at web.de
Mon Oct 12 16:56:11 PDT 2009


On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote:

> "Moritz Warning" <moritzwarning at web.de> wrote in message
> news:hb01mo$23g5$1 at digitalmars.com...
>> On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:
>>
>>> "Moritz Warning" <moritzwarning at web.de> wrote in message
>>> news:havc43$9av$1 at digitalmars.com...
>>>> On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote:
>>>>
>> [..]
>>> If you're using tango trunk,
>>> then I don't know what the problem is either...
>>
>> It's trunk.
> 
> Maybe this?:
> http://www.dsource.org/projects/tango/forums/topic/809

No, this is the first error:

/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to 
void*
/home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/
Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to 
void*

Though, these cases work:

class Foo{}
Foo foo = new Foo();
auto x = cast(void*) foo;

A{ void* x(){ return cast(void*)this; } }


More information about the Digitalmars-d-announce mailing list