Definition of extern(System)?
yebblies at nospamgmail.com
Wed Jan 25 18:21:27 PST 2012
"Jonathan M Davis" <jmdavisProg at gmx.com> wrote in message
news:mailman.11.1327521278.25230.digitalmars-d-learn at puremagic.com...
> As http://d.puremagic.com/issues/show_bug.cgi?id=4788 points out,
> extern(System) isn't properly documented, so I have no idea what it
> to. Does anyone know what exactly it translates to on Linux/Posix and
It should be on http://www.d-programming-language.org/attribute.html in the
'Linkage Attribute' section, but naturally it's only mentioned.
But at least I can tell you in the compiler, the definition is simple:
else if (id == Id::System)
link = LINKwindows;
link = LINKc;
More information about the Digitalmars-d-learn