Re: [Rhythmbox-devel] Compile problems



Hi,

Le jeudi 14 avril 2005 à 01:57 -0400, Jon Oberheide a écrit :
> Issue #1
> ========
> rhythmdb.c:2606: warning: implicit declaration of function `ngettext'
> rhythmdb.c:2606: warning: nested extern declaration of `ngettext'
> 
> Fixed by attached rhythmbox-libintl-fix.patch

Including gi18n.h instead of libintl.h would be better I think (if that
helps with compilation obviously ;)

> 
> Issue #2
> ========
> rb-remote-bonobo.c:547: warning: ISO C90 forbids mixed declarations and
> code
> 
> The offending line:
> guint prop_id = bonobo->priv->next_property++;
> 

There is probably something like
mytype var;
somecode();
myothertype var2;
in this file.

Changing it to
mytype var;
myothertype var2;
somecode();

should fix your compilation problem.


> Some of these may possibly be Gentoo specific as I haven't seen any one
> else complaining about them, but proper fixes wouldn't negatively affect
> other distros.

What compiler are you using?

Thanks,

Christophe




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