https://issues.dlang.org/show_bug.cgi?id=20012
--- Comment #23 from Dennis <[email protected]> --- (In reply to anonymous4 from comment #22) > (In reply to Dennis from comment #20) > > Can you give an example where the proposed behavior would be problematic? > Any callback. E.g. > https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ > ms633573%28v=vs.85%29 We're specifically looking for a situation where: 1 you have a C-ABI callback-only function 2 but it's not anonymous 3 and it's in a mixin template 4 which is mixed in at global scope 5 and its name clashes with other extern(C) functions / you want to mix it in multiple times Has anyone ever made a mixin template that mixes in a non-anonymous WindowProc resulting in clashing names? So far this situation is only hypothetical, while there are numerous instances of users running into the situation where they want a C-mangled mixin template: DPlug, Excel-D, this issue, https://issues.dlang.org/show_bug.cgi?id=962 and https://issues.dlang.org/show_bug.cgi?id=12575. --
