DBI/SQL backend

Derek Atkins warlord at MIT.EDU
Thu Jun 12 10:59:38 EDT 2008


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

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list