www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17939] New: extern(C) function support with non-C


          Issue ID: 17939
           Summary: extern(C) function support with non-C attributes/types
                    should be documented
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: spec
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: schveiguy yahoo.com

In issue 7854, Walter says that allowing non-C attributes in extern(C) function
parameters is a "feature":


Therefore, I'm opening this enhancement request for making the spec reflect
definitively how this feature works. I think a clear explanation will help
compiler developers, and will help users understand what actually happens.

See also Walter's PR that uses this feature:

Oct 26 2017