conflict with glib header file gvariant.h
Jiva bagale <[email protected]>
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone,
I am using Spread 4.1 in a C program along with libglib2.26.1 in Ubuntu
10.10. gvariant.h, which is included with the glib library, defines int16
and int32.
sp.h also defines the int16 for short and int32 for int. When i try to
compile my program, the compiler gives error saying:
In file included from /usr/include/glib-2.0/glib.h:92,
from main.c:2:
/usr/include/glib-2.0/glib/gvariant.h:72: error: two or more data types in
declaration specifiers
/usr/include/glib-2.0/glib/gvariant.h:74: error: two or more data types in
declaration specifiers
There was no gvariant.h on glib version 2.22.3 so there was no such error.
The Ubuntu 10.04 and later releases have this issue.
Is anyone else having any such issue? I got it working by modifying the
int16 and int32 define in sp.h and other related usages in fl.h and
sp_func.h
What shall I do to request a permanent solution to this? Is it possible to
write any Patch for this?
Regards
Jiva
_______________________________________________
Spread-users mailing list
[email protected]
http://lists.spread.org/mailman/listinfo/spread-users