www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9302] New: Document extern properly

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

           Summary: Document extern properly
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: pull
          Severity: enhancement
          Priority: P2
         Component: websites
        AssignedTo: andrej.mitrovich gmail.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-01-12
08:29:09 PST ---
extern is used both as a storage class and as a linkage attribute. Although
both are documented they should be linked to one another and example code
should be provided to avoid any confusion between the two.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 12 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9302



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-01-12
08:30:48 PST ---
https://github.com/D-Programming-Language/d-programming-language.org/pull/237

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9302



--- Comment #2 from github-bugzilla puremagic.com 2013-01-12 08:49:53 PST ---
Commits pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/cf59d99871e99ab61e11633f04cad9ac68a5600b
Fixes Issue 9302 - Extern is used both as a storage class and as a linkage
attribute.

https://github.com/D-Programming-Language/d-programming-language.org/commit/eee1cd8143422e9b64a12e1456b22eba2ca9290d
Merge pull request #237 from AndrejMitrovic/Fix9302

Issue 9302 - Extern is used both as a storage class and as a linkage attribute

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9302


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9302


Bruno Medeiros <bdom.pub+deebugz gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bdom.pub+deebugz gmail.com


--- Comment #3 from Bruno Medeiros <bdom.pub+deebugz gmail.com> 2013-03-05
06:57:25 PST ---
There is still an error in the docs in the part that says:
"
D conventions are:
  extern (D):
or:
  extern:
"

The last "or: extern:" should be removed because that syntax is interpreted as
the storage class, not linkage ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 05 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9302



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-03-05
07:02:45 PST ---
(In reply to comment #3)
 There is still an error in the docs in the part that says:
 "
 D conventions are:
   extern (D):
 or:
   extern:
 "
 
 The last "or: extern:" should be removed because that syntax is interpreted as
 the storage class, not linkage ?

Yes exactly, thanks. https://github.com/D-Programming-Language/d-programming-language.org/pull/294 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 05 2013