[Issue 15217] overloaded extern(C) function declarations are allowed
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Dec  2 02:48:41 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15217
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
A possible solution to this conundrum is to allow two C overloads of the same
function name if they are defined in the same scope. They'd be disallowed if
they were in different scopes. The latter would most likely be accidental. A
possibility would be to disallow it unless the declarations are both @system.
--
    
    
More information about the Digitalmars-d-bugs
mailing list