Re: Problem with ObjC



Cedric Marcone <marcone mdeo fr> writes:

> Hello,
> 
> I don't know if this is the right ML for my question but...
> I'm currently developing an application using gtk1.2 which must be
> cross-plateform, that's why I'm in the process of converting it to
> gtk2.0.
> 
> The language is use is ObjC, with GCC 3.0.2.
> 
> While trying to compile a source file including glib.h, I'v got the
> following problem :
> 
> In file included from /usr/local/include/glib-2.0/glib/giochannel.h:31,
>                  from /usr/local/include/glib-2.0/glib.h:44,
>                  from XMLNode.h:9,
>                  from XMLNode.m:5:
> /usr/local/include/glib-2.0/glib/gmain.h:146: parse error before "id"
> 
> 
> In fact, "id" is a reserved word in objc... (generic object pointer)
> 
> May we make a change, or is there a way for me to avoid this ?

Please file a bug report on http://bugzilla.gnome.org, product
glib, component general. (See glib/README). This use of 'id'
should be easy enough to fix, since it's just a parameter
name.

Thanks,
                                        Owen




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