www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20378] New: Main function specification is incomplete

https://issues.dlang.org/show_bug.cgi?id=20378

          Issue ID: 20378
           Summary: Main function specification is incomplete
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: alphaglosined gmail.com

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

--
Nov 09 2019