Bug 4788 – extern (System) not documented

Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-09-01T21:23:00Z
Last change time
2012-02-06T19:44:09Z
Assigned to
nobody
Creator
cruxic

Comments

Comment #0 by cruxic — 2010-09-01T21:23:37Z
Please immediately close this issue if I am mistaken. I did a Google site search for: extern System site:www.digitalmars.com and extern System site:www.digitalmars.com Neither of these had hits in the formal documentation, only mailinglists. I suggest it be documented on the "Interfacing to C" page (http://www.d-programming-language.org/interfaceToC.html) I'd be glad to make this enhancement if you like.
Comment #1 by cruxic — 2010-09-01T21:25:50Z
Correction: My second site search was against www.d-programming-language.org
Comment #2 by yao.gomez — 2012-02-06T19:44:09Z
The extern(System) attribute is briefly defined in: http://dlang.org/attribute.html#linkage The relevant part of the paragraph is: "System is the same as Windows on Windows platforms, and C on other platforms." Although brief, it correctly specifies the meaning of that attribute. I'm closing this bug report, but if you disagree, please reopen.