[Issue 15217] overloaded extern(C) function declarations are allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 23 12:01:11 UTC 2018


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
This was invented as a tool to deprecate callbacks missing those attributes.
There is unfortunately no wildcard to infer function attributes from parameter
(callback) attributes, though this use-case comes up frequently (e.g. in
interface and class methods besides extern(C) methods).

--


More information about the Digitalmars-d-bugs mailing list