Bug 4399 – Incomplete extern (...) docs

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2010-06-27T16:59:00Z
Last change time
2015-06-09T05:10:45Z
Keywords
spec
Assigned to
nobody
Creator
leandro.lucarella

Comments

Comment #0 by leandro.lucarella — 2010-06-27T16:59:59Z
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 by bugzilla — 2012-01-23T21:19:59Z
dlang.org/attribute.html#linkage