On Wednesday, 11 June 2014 at 22:20:27 UTC, Walter Bright 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?

No, but if I had a 3rd party .lib that had been built on Windows
and it was the only known source for that library, I would prefer
to be able to convert it to a .a and link against it using
extern(Windows) (if possible).

I would vote that extern(Windows) should do what it says on the
tin OR issue an error telling people that a Mac/Linux build of
the compiler can't build binaries that have any chance of being
compatible with any library they'll ever find or make, so not to
include it as a build target.

Reply via email to