GNOME Bugzilla – Bug 655092
compilation error with --with-database configure switch
Last modified: 2011-07-25 21:37:51 UTC
Created attachment 192434 [details] [review] path to solve compilation errors when --with-database configure switch is used I got the following compilation errors when tried to build 0.14.5 version on Ubuntu with --with-database configure switch: mrp-sql.c: In function ‘sql_write_project’: mrp-sql.c:2417: error: format not a string literal and no format arguments mrp-sql.c:2424: error: format not a string literal and no format arguments mrp-sql.c:2447: error: format not a string literal and no format arguments mrp-sql.c:2514: error: format not a string literal and no format arguments mrp-sql.c: In function ‘mrp_sql_save_project’: mrp-sql.c:3729: error: format not a string literal and no format arguments make[2]: *** [libstorage_sql_la-mrp-sql.lo] Error 1 The attached patch solves the issue.
Created attachment 192435 [details] [review] fix compilation error with --with-database switch in src/planner-sql-plugin.c
Similar error in src/planner-sql-plugin.c cc1: warnings being treated as errors planner-sql-plugin.c: In function ‘show_error_dialog’: planner-sql-plugin.c:320: error: format not a string literal and no format arguments make[2]: *** [libsql_plugin_la-planner-sql-plugin.lo] Error 1 A patch attached to solve the problem.
Can you use git format-patch to generate the patches, so that I have the right metadata?
Created attachment 192589 [details] [review] git format-patch -1 Here you are the patch generated by the command git format-patch -1
Ok, I'll push this ASAP.
Thanks, pushed to master.