digitalmars.D.bugs - [Issue 7959] New: dmd compiler crashes with internal error when main() redefined
- d-bugmail puremagic.com (32/37) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7959
- d-bugmail puremagic.com (12/12) Apr 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7959
http://d.puremagic.com/issues/show_bug.cgi?id=7959 Summary: dmd compiler crashes with internal error when main() redefined Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: thelastmammoth gmail.com --- Comment #0 from thelastmammoth gmail.com 2012-04-20 23:41:46 PDT ---cat fun.dmodule fun; void main(){}cat main.dmodule main; import fun; void main(){}rdmd mainInternal error: ../ztc/machobj.c 2149 //instead of gracefully giving an error that main shouldn't be defined elsewhere This is specific to main, as the following compiles fine:cat fun.dmodule fun; void fun(){}cat main.dmodule main; import fun; void fun(){} void main(){} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7959 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dmitry.olsh gmail.com Resolution| |DUPLICATE --- Comment #1 from Dmitry Olshansky <dmitry.olsh gmail.com> 2012-04-21 03:05:35 PDT --- *** This issue has been marked as a duplicate of issue 5634 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 21 2012