www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4788] New: extern (System) not documented

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4788

           Summary: extern (System) not documented
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: cruxic gmail.com


--- Comment #0 from AdamB <cruxic gmail.com> 2010-09-01 21:23:37 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 01 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4788



--- Comment #1 from AdamB <cruxic gmail.com> 2010-09-01 21:25:50 PDT ---
Correction: My second site search was against www.d-programming-language.org

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 01 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4788


Yao Gomez <yao.gomez gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yao.gomez gmail.com
         Resolution|                            |INVALID


--- Comment #2 from Yao Gomez <yao.gomez gmail.com> 2012-02-06 19:44:09 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2012