On Sun, 2009-12-13 at 20:21 +0100, Krzesimir Nowak wrote: > Hi, > > I got annoyed with enum.pl generating broken modulemm_enums.defs and in > effect wrapped flags have often wrong values, but I did not feel to be > able to bake some completely new solution. So I rewritten most of the > original script. > > I updated it to work with `use strict' and `use warnings', added > --with-typedefs (prints original enums in comments above every enum > defs) and --omit-deprecated (just omits everything deprecated) options, > handles most of enums and flags (especially flags!) properly, generates > proper nicks for enums with one value, prints warnings to stderr about > several stuff. It is a better hack, but still a hack. > > I'm attaching a patch made against master branch of glibmm. Do I have to > file a bug in bugzilla? (In which category?) > > I tested it a bit on master branches of glib (glib, gobject, gio), > pango, atk, gtk (gdk, gdk-pixbuf, gtk), vte and gtksourceview, but that > is so much of enums and flags that I could easily overlook something. > > Krzesimir.
Ouch, attachment created a separate topic [1], so I filed a bug to glibmm's build category and added the patch there: https://bugzilla.gnome.org/show_bug.cgi?id=604485 [1] http://mail.gnome.org/archives/gtkmm-list/2009-December/msg00047.html Krzesimir. _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
