On 2009-10-13 01:56:11 +0200, Moritz Warning <[email protected]> said:
On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote:
"Moritz Warning" <[email protected]> wrote in message
news:[email protected]...
On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote:
"Moritz Warning" <[email protected]> wrote in message
news:[email protected]...
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