gnc-backend-dbi.c needs the tweak to stomp out GType warnings: gnc-backend-dbi.c:948: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘GType’ gnc-backend-dbi.c:964: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘GType’ gnc-backend-dbi.c:980: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘GType’
Based on the fix either you or Derek suggested last time, replacing the PERR on those lines with PERR( "Unknown GType: '%s'\n", g_type_name(G_VALUE_TYPE(type))); Works for me. Does DBI protect us well enough that a user can change the database backend without recompiling gnucash? (Presuming, of course, that any dbi drivers added later get installed in the same place gnucash finds/ assigns the original set used.) Dave -- David Reiser [EMAIL PROTECTED] _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
