Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9
-
None
-
CentOS 6.3 on x86 (32-bit)
-
Patch Available
Description
A missing parenthesis in the generated header file for a service interface breaks the "IS_..." macro, making client code that uses it fail to compile with messages like
hello_world_processor.c:41:59: error: macro "G_TYPE_CHECK_INSTANCE_TYPE" requires 2 arguments, but only 1 given
hello_world_processor.c:101:1: error: unterminated argument list invoking macro "G_LIKELY"
In file included from /usr/include/glib-2.0/glib.h:79,
from /usr/include/glib-2.0/gobject/gtype.h:26,
from /usr/include/glib-2.0/gobject/gboxed.h:26,
from /usr/include/glib-2.0/glib-object.h:25,
from hello_world_processor.h:4,
from hello_world_processor.c:1:
I'll attach a patch with the fix.