[Issue 9723] add missing main() when compiling exe with -unittest

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 15 16:52:20 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9723



--- Comment #15 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-15 16:52:19 PDT ---
(In reply to comment #14)
> (In reply to comment #12)
> > You guyz make a good case. I amend my proposal so this should happen only when
> > a "-main" switch is thrown on the command line.
> 
> Ok good. One other question: If another main() is found while -main is used,
> should the compiler error or just avoid generating main() on its own?

Disregard this question, there's already a check in DMD for multiple main
functions, it will be very useful.

-- 
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