Re: [gnet] gnet CVS: /usr/include/gnet/gnet.h:54: syntax error before `const'



On Wed, 2001-10-24 at 22:43, David Helder wrote:
> 
> Are you building in Unix?
> 
> Here's the relevant glib.h (1.2.something):
> 

I'm trying to use ORBit2/glib2 in my program.

Have you ported the glib related code to glib2 yet on a CVS branch or something?

If not, have you determined what needs to be done?

I don't know what is involved in porting from glib to glib2, but I expect it's only a few API changed here and there. If it hasn't been done, I would be willing to help.

--
Ross

<snipped>
> On 24 Oct 2001, Ross Golder wrote:
> 
> > Using latest CVS, I'm getting this when compiling my program against
> > gnet.
> >
> > /usr/include/gnet/gnet.h:54: syntax error before `const'
> > /usr/include/gnet/gnet.h:55: syntax error before `const'
> > /usr/include/gnet/gnet.h:56: syntax error before `const'
> > /usr/include/gnet/gnet.h:57: syntax error before `const'
> > /usr/include/gnet/gnet.h:58: syntax error before `const'
> >
> > The lines in question are :
> >
> > 48:#ifdef GNET_WIN32
> > 49:#  define GNET_EXPORT extern __declspec(dllimport)
> > 50:#else
> > 51:#  define GNET_EXPORT GUTILS_C_VAR
> > 52:#endif
> > 53:
> > 54:GNET_EXPORT const guint gnet_major_version;
> > 55:GNET_EXPORT const guint gnet_minor_version;
> > 56:GNET_EXPORT const guint gnet_micro_version;
> > 57:GNET_EXPORT const guint gnet_interface_age;
> > 58:GNET_EXPORT const guint gnet_binary_age;
> > 59:
> >
> > Any ideas?
> >
> > --
> > Ross
> >
> >
> > _______________________________________________
> > gnet mailing list
> > gnet gnetlibrary org
> > http://www.gnetlibrary.org/mailman/listinfo/gnet
> >
> 
> -- 
>       __          _    __ David Helder - dhelder umich edu
>   ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
>  / _  / _ `/ |/ / / _  /  Jungle Monkey: <http://www.junglemonkey.net>
>  |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>
> 







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