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 594202 - Can't build typelib for enums with _0_1 members
Can't build typelib for enums with _0_1 members
Status: RESOLVED INCOMPLETE
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 550616
 
 
Reported: 2009-09-05 07:33 UTC by Sebastian Dröge (slomo)
Modified: 2015-02-07 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2009-09-05 07:33:39 UTC
Hi,
gobject-introspection can't build the typelib for enums like the following:

/**
 * GstDPVersion:
 * @GST_DP_VERSION_0_2: protocol version 0.2
 * @GST_DP_VERSION_1_0: protocol version 1.0
 *
 * The version of the GDP protocol being used.
 */
typedef enum {
  GST_DP_VERSION_0_2 = 1,
  GST_DP_VERSION_1_0,
} GstDPVersion;


Output is:
** ERROR **: Invalid typelib for module 'GstDataprotocol': In directory (Context: GstDPVersion)): The value is contains invalid characters: 0.2
aborting...
Comment 1 Johan (not receiving bugmail) Dahlin 2010-09-06 16:38:49 UTC
Can you retry this with git head of introspection? The recent scanner rewrite might have fixed this.
Comment 2 Felipe Besoaín Pino 2010-10-20 11:55:10 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 3 André Klapper 2015-02-07 16:46:37 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]