D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20378 - Main function specification is incomplete
Summary: Main function specification is incomplete
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-10 05:29 UTC by Richard (Rikki) Andrew Cattermole
Modified: 2022-01-18 17:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Richard (Rikki) Andrew Cattermole 2019-11-10 05:29:41 UTC
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