D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4399 - Incomplete extern (...) docs
Summary: Incomplete extern (...) docs
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks:
 
Reported: 2010-06-27 16:59 UTC by Leandro Lucarella
Modified: 2015-06-09 05:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Leandro Lucarella 2010-06-27 16:59:59 UTC
Documentation on the extern storage class is both very sparse and very scarce.

* Most documentation is only about extern (C) and is present in an article about C compatibility or the ABI docs.

* I couldn't find any mention to extern (System) in all the specs.

* extern (C++) is only found in the article about interfacing with C++

* The only mention of extern (D) I found is in the ABI description.

* extern (Windows) is mostly mentioned only in the D for Win32 article.

I think it would be nice to have a central place where all extern (...) declarations are explained (or at least listed with links to their usage). A table like the available predefined versions for the version statement would be nice.
Comment 1 Walter Bright 2012-01-23 21:19:59 UTC
dlang.org/attribute.html#linkage