Planner-list PostgreSQL & Planner
- From: John Spikowski <support scriptbasic org>
- To: planner-list gnome org
- Subject: Planner-list PostgreSQL & Planner
- Date: Sat, 13 Nov 2010 23:41:19 -0800
I was able to get by the error.
mrp-sql.c (2374)
g_set_error(e,MRP_ERROR,MRP_ERROR_SAVE_WRITE_FAILED,"%
s",sql_get_last_error (c));
Now I'm dealing with another 'format' error.
make all-recursive
make[1]: Entering directory `/home/jrs/planner'
Making all in po
make[2]: Entering directory `/home/jrs/planner/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jrs/planner/po'
Making all in libplanner
make[2]: Entering directory `/home/jrs/planner/libplanner'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jrs/planner/libplanner'
Making all in src
make[2]: Entering directory `/home/jrs/planner/src'
CC libsql_plugin_la-planner-sql-plugin.lo
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
make[2]: Leaving directory `/home/jrs/planner/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jrs/planner'
make: *** [all] Error 2
static void
show_error_dialog (PlannerPlugin *plugin,
const gchar *str)
{
GtkWindow *window;
GtkWidget *dialog;
gint response;
window = GTK_WINDOW (plugin->main_window);
dialog = gtk_message_dialog_new (window,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
str); <<<--- Error points HERE
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]