Re: compile error with latest svn



Hi Nuno!

On 04/10/2007 12:36:44 PM, Nuno Monteiro wrote:

Hi all,

I get this error while trying to build balsa from the latest svn:

cc1: warnings being treated as errors
libbalsa-conf.c: In function ‘libbalsa_conf_get_double_with_default_’:
libbalsa-conf.c:429: warning: implicit declaration of function ‘g_key_file_get_d ouble’

Hmmm...the docs <http://developer.gnome.org/doc/API/2.0/glib/
glib-Key-value-file-parser.html#g-key-file-get-double> say that g_key_file_get_double is "Since 2.12", but Balsa code uses GLIB_CHECK_VERSION(2, 10, 0). My fc6 system is 2.10:

$ pkg-config --modversion gtk+-2.0
2.10.8

but declares g_key_file_get_double in gkeyfile.h anyway! Apparently, to be on the safe side, Balsa should use GLIB_CHECK_VERSION(2, 10, 0).

Peter

Attachment: pgpf2K8axrpRO.pgp
Description: PGP signature



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