[Issue 12894] Make extern(Windows) behave like extern(C) on non-Windows systems

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 13 02:46:21 PDT 2014


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

--- Comment #3 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to Walter Bright from comment #0)
> I propose changing it to behave like extern(C). This has the advantage that
> there is significant C code out there that mangles with Windows on Windows
> and otherwise C, and this will make these sorts of things easily compatible
> with D declarations.

Refactoring will be easy: replace all extern(Windows) with extern(System).
That said, we can probably have extern(System) in core.sys.windows too.

--


More information about the Digitalmars-d-bugs mailing list