www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1299] New: Wrong module in variadic functions example.

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

           Summary: Wrong module in variadic functions example.
           Product: D
           Version: 1.017
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: aziz.kerim gmail.com


http://www.digitalmars.com/d/function.html

Search for std.stdarg and replace with std.c.stdarg.


-- 
Jun 30 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1299


fvbommel wxs.nl changed:

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





No, it looks like it's fine. The section for extern(C) variadic functions
recommends std.c.stdarg and the section for extern(D) variadic functions
recommends std.stdarg, just as it should be.
If you look in your Phobos directory tree, you'll see that both exist. If you
look at the comments, you'll see they're for different kinds of functions.


-- 
Jun 30 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1299






Thanks for the clarification.


-- 
Jun 30 2007