[Issue 11008] Allow -main switch even if user-defined main function exists
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 10 22:05:44 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11008
thelastmammoth at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thelastmammoth at gmail.com
--- Comment #4 from thelastmammoth at gmail.com 2013-09-10 22:05:42 PDT ---
(In reply to comment #3)
> One way to do this is to introduce separate option, say -fno-main-error which
> does what was proposed in this enh without screwing current switch.
(In reply to comment #3)
> One way to do this is to introduce separate option, say -fno-main-error which
> does what was proposed in this enh without screwing current switch.
something more general and useful would be:
dmd -main=mypck.mymodule.myfunction [...]
which specifies the main function to use.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list