After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629759 - varargs considered to be unknown parameters
varargs considered to be unknown parameters
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-09-15 13:16 UTC by Simon McVittie
Modified: 2015-02-07 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[maintransformer] Do not warn for vararg docs (1.48 KB, patch)
2010-09-16 13:28 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review

Description Simon McVittie 2010-09-15 13:16:14 UTC
From telepathy-glib in the vicinity of 0.11.15, with g-i git commit c31120dd00d2ea1513399832461ed4437c6940de:

tp_base_client_add_connection_features_varargs: unknown parameter '...' in documentation comment, should be one of 'self', 'feature', None

(and some other similar warnings)

Here's that function's declaration and doc-comment:

void tp_base_client_add_connection_features_varargs (TpBaseClient *self,
    GQuark feature, ...);

/**
 * tp_base_client_add_connection_features_varargs: (skip)
 * @self: a client
 * @feature: the first feature
 * @...: the second and subsequent features, if any, ending with 0
 *
 * The same as tp_base_client_add_connection_features(), but with a more
 * convenient calling convention from C.
 *
 * Since: 0.11.14
 */
void
tp_base_client_add_connection_features_varargs (TpBaseClient *self,
    GQuark feature,
    ...)
Comment 1 Johan (not receiving bugmail) Dahlin 2010-09-16 13:28:35 UTC
The following fix has been pushed:
9032f35 [maintransformer] Do not warn for vararg docs
Comment 2 Johan (not receiving bugmail) Dahlin 2010-09-16 13:28:40 UTC
Created attachment 170416 [details] [review]
[maintransformer] Do not warn for vararg docs

Allow varargs "..." to be documented without warning
Comment 3 André Klapper 2015-02-07 16:51:45 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]