Thread overview | |||||
---|---|---|---|---|---|
|
October 25, 2006 [Issue 460] New: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=460 Summary: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' Product: D Version: 0.172 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: digitalmars-com@baysmith.com The code listed below is invalid, but an error message would be better than a compiler assertion failure. >dmd -c gld\tmp.d Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' abnormal program termination ----- tmp.d ----- extern(C) void func(void*); struct s { int v; } void func2() { func(&s.v); } -- |
November 08, 2006 Re: [Issue 460] New: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-10-25: > http://d.puremagic.com/issues/show_bug.cgi?id=460 > The code listed below is invalid, but an error message would be better than a compiler assertion failure. > >>dmd -c gld\tmp.d > Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' > > abnormal program termination > > ----- tmp.d ----- > extern(C) void func(void*); > > struct s { > int v; > } > > void func2() { > func(&s.v); > } Added to DStress as http://dstress.kuehne.cn/nocompile/b/bug_tocsym_142_E.d Thomas |
November 25, 2006 [Issue 460] Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=460 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2006-11-25 03:54 ------- Fixed DMD 0.175 -- |
Copyright © 1999-2021 by the D Language Foundation