Re: compile error with latest svn



On 04/10/2007 01:51:24 PM, Peter Bloomfield wrote:
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:
[ stupid gtk version snipped ]
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).

more stupidity--GLIB_CHECK_VERSION(2, 12, 0), as Albrecht posted, of course.

Sorry for the noise,

Peter

Attachment: pgpaqY7n5o02N.pgp
Description: PGP signature



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