dmd 1.049 and 2.034 release
Fawzi Mohamed
fmohamed at mac.com
Tue Oct 13 04:42:01 PDT 2009
On 2009-10-13 01:56:11 +0200, Moritz Warning <moritzwarning at web.de> said:
> 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; } }
yet that is a strange error, I was not really able to reduce it, on one
side it is clearly a compiler error
(it does not allow cast(void*)this which is valid), on the other all
smaller cases that I could think of seem to work...
submitted it as
http://d.puremagic.com/issues/show_bug.cgi?id=3392
Fawzi
More information about the Digitalmars-d-announce
mailing list