Re: [gamin] Compatibility with SGI::FAM Perl module



On Fri, Feb 18, 2005 at 09:01:03PM -0500, Perusion Hostmaster wrote:
> Quoting Daniel Veillard (veillard redhat com):
> > On Fri, Feb 18, 2005 at 03:18:26PM -0500, Mike Heins wrote:
> > > Quoting Daniel Veillard (veillard redhat com):
> > > > On Fri, Feb 18, 2005 at 01:05:25PM -0500, Mike Heins wrote:
> > > 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
> > 
> >   what is that type ? I do NOT have SGI::FAM ! You need to make a minimal
> > amount of analysis to give me back informations about this.
> 
> I am not competent to make that analysis, as my knowledge of C is minimal.

  That ganerated line is

            enum FAMCodes   RETVAL;

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;

 I will try to reconciliate this in the next version.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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