Bug 11833 – std.process: ddoc warnings

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-27T14:48:00Z
Last change time
2014-08-15T01:30:59Z
Assigned to
nobody
Creator
andrei

Comments

Comment #0 by andrei — 2013-12-27T14:48:02Z
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
Comment #1 by dlang-bugzilla — 2014-02-11T17:00:23Z
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.
Comment #2 by hsteoh — 2014-08-15T01:30:59Z
*** This issue has been marked as a duplicate of issue 13270 ***