[Issue 12892] extern(C): label confined to version scope

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 11 16:11:15 PDT 2014


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

--- Comment #7 from Mark Isaacson <markisaa at umich.edu> ---
I must've closed the tab before submitting my last reply:

Solution 5 sounds ideal to me. It shouldn't have any backward compatibility
issues and it also does the intuitive thing.

Solution 4 also sounds reasonable, but comes with a couple of questions:
1) Will code break?
2) Can we ensure that this is well documented? I had enough trouble trying to
find out what I already know about extern(Windows) and what it does; it's hard
to find anything either via searching or perusing the Language Reference pages.

For now I only actually *need* to develop for one platform, so I will likely
just comment out the version lines and target Win64 directly.

Thanks for the help!

--


More information about the Digitalmars-d-bugs mailing list