On Jun 12, 2008, at 10:59 AM, Derek Atkins wrote:

> David Reiser <[EMAIL PROTECTED]> writes:
>
>>>> with --enable-error-on-warning set, I get:
>>>>
>>>> cc1: warnings being treated as errors
>>>> gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’:
>>>> gnc-backend-util-sql.c:1411: warning: format ‘%d’ expects type  
>>>> ‘int’,
>>>> but argument 5 has type ‘GType’
>>>> make[5]: *** [gnc-backend-util-sql.lo] Error 1
>>>
>>> What machine/os/version of gcc?
>>>
>>> Phil
>>
>> Mac OS X, ppc hardware, gcc 4.0.1 (Apple's version)
>
> Another question is:  what version of glib?
>
> Phil, keep in mind that GLib changed from an "int" GType to an
> "opaque" GType.   Why are you trying to read/write a GType as
> an int?
>
> -derek

I'm using glib 2.16.3
Dave
--
David Reiser
[EMAIL PROTECTED]




_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to