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

          Issue ID: 22959
           Summary: Documentation for C/D main is incomplete
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nob...@puremagic.com
          Reporter: moonlightsenti...@disroot.org

Some aspects of the implementation is not found in the documentation for main
functions (both C and D).

- qualifiers are allowed for parameter / return types
- enums with appropriate base types are allowed
- extern(C) main may be used without -betterC
- some valid signatures for extern(C) main are missing
- no workaround for exotic main signatures

--

Reply via email to