On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote: > "Moritz Warning" <moritzwarn...@web.de> wrote in message > news:hb01mo$23g...@digitalmars.com... >> On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote: >> >>> "Moritz Warning" <moritzwarn...@web.de> wrote in message >>> news:havc43$9a...@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; } }