digitalmars.D.bugs - [Issue 12129] New: Wrong ddoc for one vararg.va_start argument
- d-bugmail puremagic.com (33/33) Feb 10 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12129
- d-bugmail puremagic.com (12/12) Feb 11 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12129
https://d.puremagic.com/issues/show_bug.cgi?id=12129 Summary: Wrong ddoc for one vararg.va_start argument Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc In the file dmd2\src\druntime\src\core\vararg.d there is: /** * This function initializes the supplied argument pointer for subsequent * use by va_arg and va_end. * * Params: * ap = The argument pointer to initialize. * paramn = The identifier of the rightmost parameter in the function * parameter list. */ void va_start(T)( out va_list ap, ref T parmn ) { ap = cast(va_list)( cast(void*) &parmn + ( ( T.sizeof + int.sizeof - 1 ) & ~( int.sizeof - 1 ) ) ); } The ddoc refers to the "paramn" argument, while va_start has a "parmn" argument. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12129 Blake Anderton <rbanderton gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |rbanderton gmail.com Resolution| |FIXED PST --- Fixed via https://github.com/D-Programming-Language/druntime/pull/721 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2014