[Issue 9723] New: add missing main() when compiling exe with -unittest
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 14 14:32:08 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9723
Summary: add missing main() when compiling exe with -unittest
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bugzilla at digitalmars.com
--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2013-03-14 14:32:08 PDT ---
When compiling a module with -unittest, and an exe file is being generated, and
there is no main() function, add:
int main() { return 0; }
and compile it in.
--
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