Subject: | Can't compile with recent gnome |
Problem with recent version of gnome ....
******
FAM.xs: In function `famerror':
FAM.xs:123: warning: return discards qualifiers from pointer target type
FAM.c: In function `XS_FAMEventPtr_code':
FAM.c:813: error: storage size of 'RETVAL' isn't known
make: *** [FAM.o] Error 1
******
The problem comes from a slight divergence between SGI version of fam.h
and gamin version:
they declare
enum FAMCodes { .... };
and I declare
typedef enum {
...
} FAMCodes;