digitalmars.D.bugs - [Issue 3392] New: a cast of this to void in tango.core.Thread is not allowed
- d-bugmail puremagic.com (31/31) Oct 13 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
- d-bugmail puremagic.com (22/22) Oct 13 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
- d-bugmail puremagic.com (10/10) Oct 13 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
- d-bugmail puremagic.com (6/6) Oct 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
- d-bugmail puremagic.com (10/10) Oct 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
- d-bugmail puremagic.com (12/12) Oct 21 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3392
http://d.puremagic.com/issues/show_bug.cgi?id=3392 Summary: a cast of this to void in tango.core.Thread is not allowed Product: D Version: 1.048 Platform: Other OS/Version: Mac OS X Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: fawzi gmx.ch Tango does not compile (just ./build/build.sh ), but stops with an error {{{ .../Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to void* }}} this is just a cast of this to void*, even rewriting the lines like this {{{ void *arg=cast(void*)cast(Object)this; if( pthread_create( &m_addr, &attr, &thread_entryPoint, arg ) != 0 ) }}} gives an error casting this. Unfortunately just about any reduced example work... both 1.048 and 1.049 have this issue, it is a blocker for tango. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 13 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3392 Matti Niemenmaa <matti.niemenmaa+dbugzilla iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matti.niemenmaa+dbugzilla i | |ki.fi Platform|Other |All OS/Version|Mac OS X |All 2009-10-13 05:35:44 PDT --- Reduced testcase: class Foo { Foo next; void start() in { assert (!next); } body { void* p = cast(void*)this; } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 13 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3392 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 19:59:34 PDT --- A patch to dmd is in svn now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 13 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3392 thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 14 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3392 Moritz Warning <moritzwarning web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moritzwarning web.de PDT --- Works with r208. Thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 14 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3392 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |FIXED Fixed DMD1.050 and DMD2.035. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2009