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 554919 - add g-ir-scanner --fail-unbindable option
add g-ir-scanner --fail-unbindable option
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on: 556628
Blocks:
 
 
Reported: 2008-10-03 19:51 UTC by Colin Walters
Modified: 2015-02-07 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Walters 2008-10-03 19:51:54 UTC
We should allow gobject-introspection to optionally *enforce* writing in the GObject/C subset that it supports.  A commandline argument such as --fail-unbindable would allow C authors to catch new unbindable functions during development, rather than having us yell at them later.

So this would be a new option to the scanner which C library authors could add if they desired[1].  However we do need an escape hatch for legacy API and C convenience glue.  One way to do this would be a new annotation:

<nointrospect>

or the like which would direct the scanner to ignore it.

[1] I would push for GNOME to try to get all module authors to agree on this by default.
Comment 1 Colin Walters 2010-09-07 00:16:53 UTC
This exists now basically, --warn-error.
Comment 2 André Klapper 2015-02-07 17:03:19 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]