extern(Windows) behavior on non-Windows systems
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 11 20:51:55 PDT 2014
On Wed, 11 Jun 2014 15:20:29 -0700
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?
Regardless of what extern(Windows) is supposed to do on Windows systems, it
seems _very_ broken to me to have it even compile on non-Windows systems. If
you want it to work across OSes, that's what extern(System) is for.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list