www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11833] New: std.process: ddoc warnings

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

           Summary: std.process: ddoc warnings
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrei erdani.com


--- Comment #0 from Andrei Alexandrescu <andrei erdani.com> 2013-12-27 14:48:02
PST ---
std/process.d(1591): Warning: Ddoc: function declaration has no parameter
'program'
std/process.d(1591): Warning: Ddoc: function declaration has no parameter
'command'
std/process.d(1591): Warning: Ddoc: parameter count mismatch
std/process.d(1925): Warning: Ddoc: function declaration has no parameter
'program'
std/process.d(1925): Warning: Ddoc: function declaration has no parameter
'command'
std/process.d(1925): Warning: Ddoc: parameter count mismatch

produced by running

  make -f posix.mak html

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 27 2013
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11833


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-12
03:00:23 EET ---
These are caused by, arguably, a compiler deficiency: the compiler does not
consider all of a function's overloads, documented together with "/// ditto",
when generating these warnings. So, it is complaining about arguments that do
not exist in the first overload (the one immediately below the DDoc in
question), but do exist in its ditto-annotated overloads.

This can probably be closed as a duplicate of whichever issue documents said
compiler deficiency.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 11 2014