glib-mkenums fprod problems



Hi,

I'm having some strange problems with glib-mkenums. It seems it isn't
always running the "fprod" section as expected. Here is an example:

I have two files, bar.h and foo.h, of which bar.h contains:

typedef enum
{
  BAR
} Bar;

and foo.h contains:

typedef enum {
  FOO
} Foo;

However when I run glib-mkenums, both files are processed, but only one
fprod section is produced:

$ glib-mkenums --fprod "file: @filename@" --eprod "enum from @EnumName@"
bar.h foo.h

/* Generated data (by glib-mkenums) */

file: bar.h
enum from Bar
enum from Foo

/* Generated data ends here */


Could anyone shed any light on what is going on here?

Regards,

Thomas





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]