extern(Windows) behavior on non-Windows systems

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 11 16:19:35 PDT 2014


On 12 June 2014 00:17, Iain Buclaw <ibuclaw at gdcproject.org> wrote:
> On 11 June 2014 23:20, Walter Bright via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> I've got an enhancement request to have it behave like extern(C):
>>
>>     https://issues.dlang.org/show_bug.cgi?id=12894
>>
>> Thoughts? Anyone use extern(Windows) on non-Windows systems?
>
> I'd doubt there's be anyone that uses extern(Windows) on non-windows
> systems, but there may be people who wish to force stdcall for
> whatever reason.  Currently, extern(C) on Windows could either be a
> stdcall, cdecl or thiscall function.

Honestly, I'd first deprecate/remove extern(Pascal), then think about
deprecating extern(Windows) later.


More information about the Digitalmars-d mailing list