Re: New enum.pl script.
- From: Krzesimir Nowak <qdlacz gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: New enum.pl script.
- Date: Sun, 13 Dec 2009 23:13:17 +0100
On Sun, 2009-12-13 at 20:21 +0100, Krzesimir Nowak wrote:
> 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.
Ouch, attachment created a separate topic , so I filed a bug to
glibmm's build category and added the patch there:
] [Thread Prev