digitalmars.D.bugs - [Issue 7104] New: linker error on void main(){ typeof(new class{}) c; c = new typeof(c); }
- d-bugmail puremagic.com (22/22) Dec 13 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7104
- d-bugmail puremagic.com (14/14) Feb 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7104
http://d.puremagic.com/issues/show_bug.cgi?id=7104 Summary: linker error on void main(){ typeof(new class{}) c; c = new typeof(c); } Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: timon.gehr gmx.ch void main(){ typeof(new class{}) c;c = new typeof(c); } In function `_Dmain': (.text._Dmain+0x9): undefined reference to `_Dmain13__anonclass147__ClassZ' collect2: ld returned 1 exit status The program should compile and link fine. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 13 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7104 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |link-failure, pull CC| |andrej.mitrovich gmail.com Platform|Other |All AssignedTo|nobody puremagic.com |andrej.mitrovich gmail.com OS/Version|Linux |All 10:26:44 PST --- https://github.com/D-Programming-Language/dmd/pull/1607 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 03 2013