DBI/SQL backend

David Reiser dbreiser at earthlink.net
Thu Jun 12 11:57:17 EDT 2008


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

> David Reiser <dbreiser at earthlink.net> 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
dbreiser at earthlink.net






More information about the gnucash-devel mailing list