Thread overview |
---|
July 28, 2007 [Issue 1384] New: Compiler segfaults when using struct variable like a function with no opCall member. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1384 Summary: Compiler segfaults when using struct variable like a function with no opCall member. Product: D Version: 1.019 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: aziz.kerim@gmail.com If you comment out a or b in the union the compiler doesn't segfault anymore and it shows the following error message: Error: structliteral has no effect in expression (Foo(0)) struct Foo { union { int a; int b; } } int bla() { Foo next; next(); // Error: structliteral has no effect in expression (Foo(0)) } -- |
September 14, 2007 [Issue 1384] Compiler segfaults when using struct variable like a function with no opCall member. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1384 dvdfrdmn@users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomas@famolsen.dk ------- Comment #1 from dvdfrdmn@users.sf.net 2007-09-14 00:31 ------- *** Bug 1494 has been marked as a duplicate of this bug. *** -- |
September 29, 2007 [Issue 1384] Compiler segfaults when using struct variable like a function with no opCall member. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1384 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2007-09-28 22:09 ------- Fixed dmd 1.021 and 2.004 -- |
Copyright © 1999-2021 by the D Language Foundation