[Issue 22959] New: Documentation for C/D main is incomplete

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 29 20:56:44 UTC 2022


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: nobody at puremagic.com
          Reporter: moonlightsentinel at 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

--


More information about the Digitalmars-d-bugs mailing list