← Back to index
|
Original Bugzilla link
Bug 20378 – Main function specification is incomplete
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-11-10T05:29:41Z
Last change time
2022-01-18T17:19:28Z
Assigned to
No Owner
Creator
Richard Cattermole
See also
https://issues.dlang.org/show_bug.cgi?id=20377
Comments
Comment #0
by alphaglosined — 2019-11-10T05:29:41Z
The main function specification in the spec is very limited and only includes extern(D) variants. It should include extern(C) and WinMain also.
https://dlang.org/spec/function.html#main
Comment #1
by wolframw — 2022-01-18T17:19:28Z
Fixed:
https://github.com/dlang/dlang.org/commit/14a810865529ae73bf12b3c8cbf80b8c71711919