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



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





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