Bug#457933: closed by Simon McVittie <smcv at debian.org> (Re: Bug#457933: glib-mkenums: Cannot parse an enum whose value is a comma)

Andrea Bolognani eof at kiyuko.org
Mon Jun 23 21:39:34 BST 2025


On Sun, Jun 15, 2025 at 10:57:02AM +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the libglib2.0-dev package:
> 
> #457933: glib-mkenums: Cannot parse an enum whose value is a comma
> 
> It has been closed by Simon McVittie <smcv at debian.org>.
> 
> Date: Sun, 15 Jun 2025 11:54:17 +0100
> From: Simon McVittie <smcv at debian.org>
> To: 457933-done at bugs.debian.org
> Subject: Re: Bug#457933: glib-mkenums: Cannot parse an enum whose value is
>  a comma
> 
> On Thu, 27 Dec 2007 at 12:05:01 +0100, Andrea Bolognani wrote:
> > I have the following enum definition in a file called beef_instruction.h,
> > and I want it to be converted into a GEnum derived type.
> > 
> >    typedef enum {
> ...
> >        BEEF_INSTRUCTION_READ        = ',',
> ...
> >    } BeefInstructionValue;
> > 
> > I think the code is legit and glib-mkenums should be able to handle it
> 
> This was fixed upstream a while ago, in 2.79.0.

I have verified that the version in unstable can indeed handle the
enum definition correctly.

Thanks!

-- 
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250623/453ae305/attachment.sig>


More information about the pkg-gnome-maintainers mailing list