[libgda] Add G_GNUC_UNUSED to unused function parameters



commit 59479b519047167499fde2b40e17d8ed01edfa60
Author: David King <davidk openismus com>
Date:   Fri Oct 1 14:51:17 2010 +0200

    Add G_GNUC_UNUSED to unused function parameters
    
    Annotate unused function parameters with G_GNUC_UNUSED to silence GCC
    warnings enabled by -Wunused-parameter (together with -Wunused or -Wall)
    and -Wextra. Comment an unused function.

 control-center/cc-gray-bar.c                       |    2 +-
 control-center/dsn-config.c                        |    6 +-
 control-center/dsn-properties-dialog.c             |    2 +-
 control-center/gdaui-dsn-assistant.c               |    8 +-
 control-center/gdaui-dsn-editor.c                  |    4 +-
 control-center/gdaui-login-dialog.c                |    8 +-
 control-center/main.c                              |   22 +-
 .../DocBook/gda-report-docbook-document.c          |    7 +-
 libgda-report/RML/gda-report-rml-document.c        |   10 +-
 libgda-report/engine/gda-report-engine.c           |   10 +-
 libgda-report/gda-report-document.c                |    6 +-
 .../data-entries/gdaui-data-cell-renderer-bin.c    |    4 +-
 .../data-entries/gdaui-data-cell-renderer-combo.c  |   12 +-
 .../data-entries/gdaui-data-cell-renderer-info.c   |   18 +-
 .../gdaui-data-cell-renderer-textual.c             |   14 +-
 libgda-ui/data-entries/gdaui-entry-bin.c           |    5 +-
 libgda-ui/data-entries/gdaui-entry-boolean.c       |    4 +-
 libgda-ui/data-entries/gdaui-entry-combo.c         |   16 +-
 libgda-ui/data-entries/gdaui-entry-common-time.c   |   22 +-
 libgda-ui/data-entries/gdaui-entry-date.c          |    2 +-
 libgda-ui/data-entries/gdaui-entry-none.c          |    5 +-
 libgda-ui/data-entries/gdaui-entry-number.c        |   10 +-
 libgda-ui/data-entries/gdaui-entry-shell.c         |    4 +-
 libgda-ui/data-entries/gdaui-entry-string.c        |    8 +-
 libgda-ui/data-entries/gdaui-entry-time.c          |    2 +-
 libgda-ui/data-entries/gdaui-entry-timestamp.c     |    2 +-
 libgda-ui/data-entries/gdaui-entry-wrapper.c       |    8 +-
 libgda-ui/data-entries/gdaui-entry.c               |    7 +-
 libgda-ui/data-entries/gdaui-formatted-entry.c     |    4 +-
 .../plugins/gdaui-data-cell-renderer-password.c    |   14 +-
 .../plugins/gdaui-data-cell-renderer-pict.c        |   10 +-
 libgda-ui/data-entries/plugins/gdaui-entry-cidr.c  |    8 +-
 .../data-entries/plugins/gdaui-entry-filesel.c     |    6 +-
 .../data-entries/plugins/gdaui-entry-password.c    |    5 +-
 libgda-ui/data-entries/plugins/gdaui-entry-pict.c  |   11 +-
 libgda-ui/data-entries/plugins/gdaui-entry-text.c  |    4 +-
 libgda-ui/data-entries/plugins/libmain.c           |    2 +-
 libgda-ui/data-entries/widget-embedder.c           |   14 +-
 libgda-ui/demos/cloud.c                            |    2 +-
 libgda-ui/demos/combo.c                            |    2 +-
 libgda-ui/demos/ddl_queries.c                      |    8 +-
 libgda-ui/demos/linked_model_param.c               |    2 +-
 libgda-ui/demos/login.c                            |   10 +-
 libgda-ui/demos/main.c                             |    4 +-
 libgda-ui/demos/provider_sel.c                     |    2 +-
 libgda-ui/demos/tree.c                             |    2 +-
 libgda-ui/gdaui-basic-form.c                       |   16 +-
 libgda-ui/gdaui-cloud.c                            |    9 +-
 libgda-ui/gdaui-combo.c                            |    8 +-
 libgda-ui/gdaui-data-entry.c                       |    6 +-
 libgda-ui/gdaui-data-filter.c                      |    4 +-
 libgda-ui/gdaui-data-proxy-info.c                  |   13 +-
 libgda-ui/gdaui-data-proxy.c                       |    2 +-
 libgda-ui/gdaui-data-selector.c                    |    2 +-
 libgda-ui/gdaui-data-store.c                       |   14 +-
 libgda-ui/gdaui-form.c                             |    2 +-
 libgda-ui/gdaui-grid.c                             |    3 +-
 libgda-ui/gdaui-init.c                             |   19 +-
 libgda-ui/gdaui-login.c                            |   10 +-
 libgda-ui/gdaui-provider-selector.c                |    2 +-
 libgda-ui/gdaui-raw-form.c                         |   42 ++--
 libgda-ui/gdaui-raw-grid.c                         |   62 ++--
 libgda-ui/gdaui-server-operation.c                 |    3 +-
 libgda-ui/gdaui-set.c                              |    4 +-
 libgda-ui/gdaui-tree-store.c                       |    6 +-
 libgda-ui/internal/gdaui-dsn-selector.c            |    6 +-
 libgda-ui/internal/gdaui-provider-auth-editor.c    |    9 +-
 libgda-ui/internal/gdaui-provider-spec-editor.c    |    9 +-
 libgda-ui/internal/popup-container.c               |    6 +-
 libgda-ui/internal/utility.c                       |    2 +-
 libgda-xslt/sql_backend.c                          |    8 +-
 libgda-xslt/sql_exslt_internal.c                   |    4 +-
 libgda-xslt/sqlexslt.c                             |    2 +-
 libgda/binreloc/binreloc.c                         |    7 +-
 libgda/dir-blob-op.c                               |    2 +-
 libgda/gda-batch.c                                 |    6 +-
 libgda/gda-blob-op.c                               |    2 +-
 libgda/gda-column.c                                |    6 +-
 libgda/gda-config.c                                |   10 +-
 libgda/gda-connection-event.c                      |    2 +-
 libgda/gda-connection.c                            |   25 +-
 libgda/gda-data-access-wrapper.c                   |   14 +-
 libgda/gda-data-comparator.c                       |   10 +-
 libgda/gda-data-handler.c                          |    2 +-
 libgda/gda-data-meta-wrapper.c                     |    6 +-
 libgda/gda-data-model-array.c                      |    6 +-
 libgda/gda-data-model-bdb.c                        |   11 +-
 libgda/gda-data-model-dir.c                        |   10 +-
 libgda/gda-data-model-dsn-list.c                   |   14 +-
 libgda/gda-data-model-import.c                     |   10 +-
 libgda/gda-data-model-iter.c                       |    6 +-
 libgda/gda-data-model.c                            |    6 +-
 libgda/gda-data-proxy.c                            |   23 +-
 libgda/gda-data-select.c                           |   16 +-
 libgda/gda-holder.c                                |   17 +-
 libgda/gda-lockable.c                              |    2 +-
 libgda/gda-meta-store.c                            |   21 +-
 libgda/gda-meta-struct.c                           |   13 +-
 libgda/gda-row.c                                   |   10 +-
 libgda/gda-server-operation.c                      |   10 +-
 libgda/gda-server-provider-extra.c                 |    8 +-
 libgda/gda-server-provider.c                       |   10 +-
 libgda/gda-set.c                                   |   13 +-
 libgda/gda-sql-builder.c                           |    6 +-
 libgda/gda-transaction-status.c                    |    2 +-
 libgda/gda-tree-manager.c                          |    6 +-
 libgda/gda-tree-mgr-columns.c                      |    8 +-
 libgda/gda-tree-mgr-label.c                        |    8 +-
 libgda/gda-tree-mgr-schemas.c                      |   11 +-
 libgda/gda-tree-mgr-select.c                       |   11 +-
 libgda/gda-tree-mgr-tables.c                       |   11 +-
 libgda/gda-tree-node.c                             |    6 +-
 libgda/gda-tree.c                                  |   10 +-
 libgda/gda-xa-transaction.c                        |    2 +-
 libgda/handlers/gda-handler-boolean.c              |    6 +-
 libgda/handlers/gda-handler-string.c               |    6 +-
 libgda/handlers/gda-handler-time.c                 |    4 +-
 libgda/handlers/gda-handler-type.c                 |    4 +-
 libgda/providers-support/gda-pstmt.c               |    2 +-
 libgda/sql-parser/gda-statement-struct-compound.c  |    2 +-
 libgda/sql-parser/gda-statement-struct-delete.c    |    2 +-
 libgda/sql-parser/gda-statement-struct-insert.c    |    2 +-
 libgda/sql-parser/gda-statement-struct-select.c    |    4 +-
 libgda/sql-parser/gda-statement-struct-update.c    |    2 +-
 libgda/sql-parser/gda-statement-struct.c           |    8 +-
 libgda/sqlite/gda-sqlite-blob-op.c                 |    2 +-
 libgda/sqlite/gda-sqlite-ddl.c                     |   14 +-
 libgda/sqlite/gda-sqlite-handler-boolean.c         |    6 +-
 libgda/sqlite/gda-sqlite-meta.c                    |  240 ++++++++-------
 libgda/sqlite/gda-sqlite-provider.c                |   32 +-
 libgda/sqlite/gda-sqlite-pstmt.c                   |    2 +-
 libgda/sqlite/gda-sqlite-recordset.c               |    4 +-
 libgda/sqlite/gda-sqlite-util.c                    |    2 +-
 libgda/sqlite/virtual/gda-vconnection-data-model.c |   10 +-
 libgda/sqlite/virtual/gda-vconnection-hub.c        |   12 +-
 libgda/sqlite/virtual/gda-virtual-connection.c     |    2 +-
 libgda/sqlite/virtual/gda-virtual-provider.c       |   10 +-
 libgda/sqlite/virtual/gda-vprovider-data-model.c   |   26 +-
 libgda/sqlite/virtual/gda-vprovider-hub.c          |   12 +-
 libgda/thread-wrapper/gda-thread-blob-op.c         |    8 +-
 libgda/thread-wrapper/gda-thread-meta.c            |   94 +++---
 libgda/thread-wrapper/gda-thread-provider.c        |   63 ++--
 libgda/thread-wrapper/gda-thread-recordset.c       |    4 +-
 libgda/thread-wrapper/gda-thread-wrapper.c         |   30 +-
 providers/bdb/gda-bdb-provider.c                   |   11 +-
 providers/bdb/gda-bdb-test.c                       |    2 +-
 providers/bdb/libmain.c                            |    4 +-
 providers/jdbc/GdaInputStream.c                    |    4 +-
 providers/jdbc/GdaJValue.c                         |   65 +++--
 providers/jdbc/gda-jdbc-blob-op.c                  |    2 +-
 providers/jdbc/gda-jdbc-meta.c                     |  267 +++++++++-------
 providers/jdbc/gda-jdbc-provider.c                 |   40 ++-
 providers/jdbc/gda-jdbc-pstmt.c                    |    2 +-
 providers/jdbc/gda-jdbc-recordset.c                |    4 +-
 providers/jdbc/gda-list-jdbc-providers.c           |    2 +-
 providers/jdbc/libmain.c                           |    6 +-
 providers/postgres/gda-postgres-blob-op.c          |    2 +-
 providers/postgres/gda-postgres-ddl.c              |   24 +-
 providers/postgres/gda-postgres-provider.c         |   30 +-
 providers/postgres/gda-postgres-pstmt.c            |    2 +-
 providers/postgres/gda-postgres-recordset.c        |    9 +-
 providers/postgres/libmain.c                       |    4 +-
 providers/reuseable/mysql/gda-mysql-meta.c         |  332 ++++++++++----------
 providers/reuseable/mysql/gda-mysql-parser.c       |    2 +-
 providers/reuseable/mysql/gda-mysql-reuseable.c    |    5 +-
 providers/reuseable/postgres/gda-postgres-meta.c   |  125 ++++----
 providers/reuseable/postgres/gda-postgres-parser.c |    2 +-
 .../reuseable/postgres/gda-postgres-reuseable.c    |    2 +-
 .../skel-implementation/capi/gda-capi-blob-op.c    |    4 +-
 providers/skel-implementation/capi/gda-capi-meta.c |  294 ++++++++++--------
 .../skel-implementation/capi/gda-capi-parser.c     |    2 +-
 .../skel-implementation/capi/gda-capi-provider.c   |   52 ++--
 .../skel-implementation/capi/gda-capi-pstmt.c      |    2 +-
 .../skel-implementation/capi/gda-capi-recordset.c  |   22 +-
 providers/skel-implementation/capi/libmain.c       |    4 +-
 .../models/gda-models-provider.c                   |   12 +-
 providers/skel-implementation/models/libmain.c     |    4 +-
 providers/sqlcipher/libmain.c                      |    4 +-
 providers/sqlite/libmain.c                         |    4 +-
 providers/web/gda-web-blob-op.c                    |    4 +-
 providers/web/gda-web-meta.c                       |   94 +++---
 providers/web/gda-web-provider.c                   |   29 +-
 providers/web/gda-web-pstmt.c                      |    2 +-
 providers/web/gda-web-recordset.c                  |    2 +-
 providers/web/libmain.c                            |    4 +-
 testing/gdaui-test-data-entries.c                  |   27 +-
 testing/gdaui-test-errors.c                        |    2 +-
 testing/gdaui-test-widget-entry.c                  |    6 +-
 testing/html.c                                     |    8 +-
 tests/data-model-errors.c                          |    6 +-
 tests/gda-ddl-creator.c                            |    6 +-
 tests/test-cnc-utils.c                             |    3 +-
 tools/browser/auth-dialog.c                        |    2 +-
 tools/browser/browser-connection.c                 |   23 +-
 tools/browser/browser-connections-list.c           |   14 +-
 tools/browser/browser-page.c                       |    2 +-
 tools/browser/browser-perspective.c                |    2 +-
 tools/browser/browser-virtual-connection.c         |    8 +-
 tools/browser/browser-window.c                     |   47 ++--
 tools/browser/canvas-example.c                     |   12 +-
 tools/browser/canvas/browser-canvas-column.c       |    9 +-
 tools/browser/canvas/browser-canvas-db-relations.c |   16 +-
 tools/browser/canvas/browser-canvas-fkey.c         |   22 +-
 tools/browser/canvas/browser-canvas-item.c         |   18 +-
 tools/browser/canvas/browser-canvas-print.c        |    9 +-
 tools/browser/canvas/browser-canvas-table.c        |   14 +-
 tools/browser/canvas/browser-canvas-text.c         |   14 +-
 tools/browser/canvas/browser-canvas.c              |   41 ++--
 tools/browser/common/gdaui-entry-import.c          |    4 +-
 tools/browser/common/objects-cloud.c               |    6 +-
 tools/browser/common/ui-formgrid.c                 |    2 +-
 tools/browser/connection-binding-properties.c      |    9 +-
 tools/browser/data-manager/data-console.c          |   19 +-
 .../browser/data-manager/data-favorite-selector.c  |   27 +-
 .../data-manager/data-manager-perspective.c        |   18 +-
 tools/browser/data-manager/data-source-editor.c    |    2 +-
 tools/browser/data-manager/data-source-manager.c   |    2 +-
 tools/browser/data-manager/data-source.c           |    4 +-
 tools/browser/data-manager/data-widget.c           |   14 +-
 tools/browser/data-manager/ui-spec-editor.c        |   12 +-
 tools/browser/data-manager/xml-spec-editor.c       |    8 +-
 .../browser/dummy-perspective/dummy-perspective.c  |    8 +-
 tools/browser/login-dialog.c                       |    2 +-
 tools/browser/mgr-favorites.c                      |    6 +-
 tools/browser/query-exec/query-console.c           |   31 +-
 tools/browser/query-exec/query-editor.c            |    8 +-
 tools/browser/query-exec/query-exec-perspective.c  |   21 +-
 tools/browser/query-exec/query-favorite-selector.c |   26 +-
 tools/browser/query-exec/query-result.c            |    7 +-
 tools/browser/schema-browser/favorite-selector.c   |   18 +-
 tools/browser/schema-browser/mgr-columns.c         |    6 +-
 tools/browser/schema-browser/objects-index.c       |    6 +-
 tools/browser/schema-browser/relations-diagram.c   |   18 +-
 .../schema-browser/schema-browser-perspective.c    |   12 +-
 tools/browser/schema-browser/table-columns.c       |    9 +-
 tools/browser/schema-browser/table-info.c          |   42 ++--
 tools/browser/schema-browser/table-preferences.c   |   20 +-
 tools/browser/schema-browser/table-relations.c     |    4 +-
 tools/browser/support.c                            |    4 +-
 tools/command-exec.c                               |   23 +-
 tools/dict-file-name.c                             |    2 +-
 tools/gda-list-config.c                            |    2 +-
 tools/gda-sql.c                                    |  119 ++++----
 tools/information-schema-doc.c                     |    2 +-
 tools/information-schema-types.c                   |    2 +-
 tools/tools-input.c                                |    3 +-
 tools/web-server.c                                 |   23 +-
 247 files changed, 2090 insertions(+), 1864 deletions(-)
---
diff --git a/control-center/cc-gray-bar.c b/control-center/cc-gray-bar.c
index a373977..eaec48a 100644
--- a/control-center/cc-gray-bar.c
+++ b/control-center/cc-gray-bar.c
@@ -309,7 +309,7 @@ cc_gray_bar_class_init (CcGrayBarClass *klass)
 }
 
 static void
-cc_gray_bar_init (CcGrayBar *bar, CcGrayBarClass *klass)
+cc_gray_bar_init (CcGrayBar *bar, G_GNUC_UNUSED CcGrayBarClass *klass)
 {
 #if GTK_CHECK_VERSION(2,18,0)
 	gtk_widget_set_has_window (GTK_WIDGET (bar), TRUE);
diff --git a/control-center/dsn-config.c b/control-center/dsn-config.c
index 2ac031d..59b954d 100644
--- a/control-center/dsn-config.c
+++ b/control-center/dsn-config.c
@@ -48,19 +48,19 @@ free_private_data (gpointer data)
 }
 
 static void
-list_double_clicked_cb (GdauiGrid *grid, gint row, gpointer user_data)
+list_double_clicked_cb (G_GNUC_UNUSED GdauiGrid *grid, G_GNUC_UNUSED gint row, gpointer user_data)
 {
 	dsn_config_edit_properties (GTK_WIDGET (user_data));
 }
 
 static void
-list_popup_properties_cb (GtkWidget *menu, gpointer user_data)
+list_popup_properties_cb (G_GNUC_UNUSED GtkWidget *menu, gpointer user_data)
 {
 	dsn_config_edit_properties (GTK_WIDGET (user_data));
 }
 
 static void
-list_popup_delete_cb (GtkWidget *menu, gpointer user_data)
+list_popup_delete_cb (G_GNUC_UNUSED GtkWidget *menu, gpointer user_data)
 {
 	dsn_config_delete (GTK_WIDGET (user_data));
 }
diff --git a/control-center/dsn-properties-dialog.c b/control-center/dsn-properties-dialog.c
index 0cdec75..69e7c2a 100644
--- a/control-center/dsn-properties-dialog.c
+++ b/control-center/dsn-properties-dialog.c
@@ -85,7 +85,7 @@ data_source_info_free (GdaDsnInfo *info)
 }
 
 static void
-delete_event_cb (GtkDialog *dlg, gpointer data)
+delete_event_cb (GtkDialog *dlg, G_GNUC_UNUSED gpointer data)
 {
 	gtk_dialog_response (dlg, GTK_RESPONSE_OK);
 }
diff --git a/control-center/gdaui-dsn-assistant.c b/control-center/gdaui-dsn-assistant.c
index 1869b4a..82600a7 100644
--- a/control-center/gdaui-dsn-assistant.c
+++ b/control-center/gdaui-dsn-assistant.c
@@ -100,7 +100,7 @@ data_source_info_free (GdaDsnInfo *info)
  */
 
 static void
-assistant_cancelled_cb (GtkAssistant *assistant, gpointer data)
+assistant_cancelled_cb (GtkAssistant *assistant, G_GNUC_UNUSED gpointer data)
 {
 	g_return_if_fail (GDAUI_IS_DSN_ASSISTANT (assistant));
 	g_signal_emit_by_name (G_OBJECT (assistant), "finished", TRUE);
@@ -108,7 +108,7 @@ assistant_cancelled_cb (GtkAssistant *assistant, gpointer data)
 }
 
 static void
-assistant_applied_cb (GtkAssistant *assist, gpointer data)
+assistant_applied_cb (GtkAssistant *assist, G_GNUC_UNUSED gpointer data)
 {
 	gboolean allok = TRUE;
 	GString *cnc_string = NULL;
@@ -237,7 +237,7 @@ dsn_auth_changed_cb (GdauiProviderAuthEditor *auth, GdauiDsnAssistant *assistant
 }
 
 static void
-provider_changed_cb (GtkWidget *combo, GdauiDsnAssistant *assistant)
+provider_changed_cb (G_GNUC_UNUSED GtkWidget *combo, GdauiDsnAssistant *assistant)
 {
 	GdaServerOperation *op;
 	const gchar *provider;
@@ -395,7 +395,7 @@ forward_page_function (gint current_page, GdauiDsnAssistant *assistant)
 
 static void
 gdaui_dsn_assistant_init (GdauiDsnAssistant *assistant,
-			     GdauiDsnAssistantClass *klass)
+			     G_GNUC_UNUSED GdauiDsnAssistantClass *klass)
 {
 	GtkWidget *label, *vbox, *table;
 	GtkAssistant *assist;
diff --git a/control-center/gdaui-dsn-editor.c b/control-center/gdaui-dsn-editor.c
index 96431fa..4092dea 100644
--- a/control-center/gdaui-dsn-editor.c
+++ b/control-center/gdaui-dsn-editor.c
@@ -97,13 +97,13 @@ field_changed_cb (GtkWidget *widget, GdauiDsnEditor *config)
 }
 
 static void
-field_toggled_cb (GtkWidget *widget, GdauiDsnEditor *config)
+field_toggled_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiDsnEditor *config)
 {
 	g_signal_emit (config, gdaui_dsn_editor_signals[CHANGED], 0, NULL);
 }
 
 static void
-gdaui_dsn_editor_init (GdauiDsnEditor *config, GdauiDsnEditorClass *klass)
+gdaui_dsn_editor_init (GdauiDsnEditor *config, G_GNUC_UNUSED GdauiDsnEditorClass *klass)
 {
 	GtkWidget *table;
 	GtkWidget *label;
diff --git a/control-center/gdaui-login-dialog.c b/control-center/gdaui-login-dialog.c
index b12e96f..89a3873 100644
--- a/control-center/gdaui-login-dialog.c
+++ b/control-center/gdaui-login-dialog.c
@@ -69,7 +69,7 @@ gdaui_login_dialog_class_init (GdauiLoginDialogClass *klass)
 }
 
 static void
-login_changed_cb (GdauiLogin *login, gboolean valid, GdauiLoginDialog *dialog)
+login_changed_cb (GdauiLogin *login, G_GNUC_UNUSED gboolean valid, GdauiLoginDialog *dialog)
 {
 	gchar *str;
 	const GdaDsnInfo *cinfo;
@@ -94,7 +94,7 @@ login_changed_cb (GdauiLogin *login, gboolean valid, GdauiLoginDialog *dialog)
 }
 
 static void
-gdaui_login_dialog_init (GdauiLoginDialog *dialog, GdauiLoginDialogClass *klass)
+gdaui_login_dialog_init (GdauiLoginDialog *dialog, G_GNUC_UNUSED GdauiLoginDialogClass *klass)
 {
 	GtkWidget *hbox, *vbox, *image, *label;
 	GtkWidget *nb;
@@ -175,7 +175,7 @@ gdaui_login_dialog_init (GdauiLoginDialog *dialog, GdauiLoginDialogClass *klass)
 static void
 gdaui_login_dialog_set_property (GObject *object,
 				    guint param_id,
-				    const GValue *value,
+				    G_GNUC_UNUSED const GValue *value,
 				    GParamSpec *pspec)
 {
 	GdauiLoginDialog *dialog = (GdauiLoginDialog *) object;
@@ -192,7 +192,7 @@ gdaui_login_dialog_set_property (GObject *object,
 static void
 gdaui_login_dialog_get_property (GObject *object,
 				    guint param_id,
-				    GValue *value,
+				    G_GNUC_UNUSED GValue *value,
 				    GParamSpec *pspec)
 {
 	GdauiLoginDialog *dialog = (GdauiLoginDialog *) object;
diff --git a/control-center/main.c b/control-center/main.c
index 9077bda..bdf3815 100644
--- a/control-center/main.c
+++ b/control-center/main.c
@@ -72,7 +72,7 @@ show_error (GtkWindow *parent, const gchar *format, ...)
 }
 
 static void
-assistant_finished_cb (GdauiDsnAssistant *assistant, gboolean error, gpointer user_data)
+assistant_finished_cb (GdauiDsnAssistant *assistant, gboolean error, G_GNUC_UNUSED gpointer user_data)
 {
 	const GdaDsnInfo *dsn_info;
 
@@ -88,13 +88,13 @@ assistant_finished_cb (GdauiDsnAssistant *assistant, gboolean error, gpointer us
 }
 
 static void
-assistant_closed_cb (GdauiDsnAssistant *assistant, gpointer user_data)
+assistant_closed_cb (GdauiDsnAssistant *assistant, G_GNUC_UNUSED gpointer user_data)
 {
 	gtk_widget_destroy (GTK_WIDGET (assistant));
 }
 
 static void
-file_new_cb (GtkAction *action, gpointer user_data)
+file_new_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED gpointer user_data)
 {
 	GtkWidget *assistant;
 
@@ -107,7 +107,7 @@ file_new_cb (GtkAction *action, gpointer user_data)
 }
 
 static void
-file_properties_cb (GtkAction *action, gpointer user_data)
+file_properties_cb (G_GNUC_UNUSED GtkAction *action, gpointer user_data)
 {
 	GtkWidget *nb = GTK_WIDGET (user_data);
 	GtkWidget *dsn, *provider, *current_widget;
@@ -126,7 +126,7 @@ file_properties_cb (GtkAction *action, gpointer user_data)
 }
 
 static void
-file_delete_cb (GtkAction *action, gpointer user_data)
+file_delete_cb (G_GNUC_UNUSED GtkAction *action, gpointer user_data)
 {
 	GtkWidget *nb = GTK_WIDGET (user_data);
 	GtkWidget *dsn, *provider, *current_widget;
@@ -145,13 +145,13 @@ file_delete_cb (GtkAction *action, gpointer user_data)
 }
 
 static void
-window_closed_cb (GtkAction *action, gpointer user_data)
+window_closed_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED gpointer user_data)
 {
 	gtk_main_quit ();
 }
 
 static void
-about_cb (GtkAction *action, gpointer user_data)
+about_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED gpointer user_data)
 {
 	GdkPixbuf *icon;
 	GtkWidget *dialog;
@@ -301,10 +301,10 @@ create_main_window (void)
 
 #ifdef HAVE_UNIQUE
 static UniqueResponse
-message_received_cb (UniqueApp         *app,
+message_received_cb (G_GNUC_UNUSED UniqueApp         *app,
                      UniqueCommand      command,
                      UniqueMessageData *message,
-                     guint              time_,
+                     G_GNUC_UNUSED guint              time_,
                      gpointer           user_data)
 {
 	UniqueResponse res = UNIQUE_RESPONSE_OK;
@@ -371,7 +371,7 @@ main (int argc, char *argv[])
 }
 
 static void
-dsn_selection_changed_cb (GdauiRawGrid *dbrawgrid, gboolean row_selected, gpointer data)
+dsn_selection_changed_cb (GdauiRawGrid *dbrawgrid, gboolean row_selected, G_GNUC_UNUSED gpointer data)
 {
 	GtkAction *action;
 	GArray *selection;
@@ -387,7 +387,7 @@ dsn_selection_changed_cb (GdauiRawGrid *dbrawgrid, gboolean row_selected, gpoint
 }
 
 static void
-main_nb_page_switched_cb (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data)
+main_nb_page_switched_cb (G_GNUC_UNUSED GtkNotebook *notebook, G_GNUC_UNUSED GtkNotebookPage *page, guint page_num, G_GNUC_UNUSED gpointer data)
 {
 	gboolean show;
 	GtkAction *action;
diff --git a/libgda-report/DocBook/gda-report-docbook-document.c b/libgda-report/DocBook/gda-report-docbook-document.c
index 0684bd4..bf800d2 100644
--- a/libgda-report/DocBook/gda-report-docbook-document.c
+++ b/libgda-report/DocBook/gda-report-docbook-document.c
@@ -104,7 +104,8 @@ gda_report_docbook_document_class_init (GdaReportDocbookDocumentClass *klass)
 }
 
 static void
-gda_report_docbook_document_init (GdaReportDocbookDocument *doc, GdaReportDocbookDocumentClass *klass)
+gda_report_docbook_document_init (GdaReportDocbookDocument *doc,
+				  G_GNUC_UNUSED GdaReportDocbookDocumentClass *klass)
 {
 	doc->priv = g_new0 (GdaReportDocbookDocumentPrivate, 1);
 }
@@ -162,7 +163,7 @@ static void
 gda_report_docbook_document_set_property (GObject *object,
 				guint param_id,
 				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportDocbookDocument *doc;
 
@@ -211,7 +212,7 @@ static void
 gda_report_docbook_document_get_property (GObject *object,
 				guint param_id,
 				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportDocbookDocument *doc;
 
diff --git a/libgda-report/RML/gda-report-rml-document.c b/libgda-report/RML/gda-report-rml-document.c
index 315f8e3..53143b2 100644
--- a/libgda-report/RML/gda-report-rml-document.c
+++ b/libgda-report/RML/gda-report-rml-document.c
@@ -83,7 +83,7 @@ gda_report_rml_document_class_init (GdaReportRmlDocumentClass *klass)
 }
 
 static void
-gda_report_rml_document_init (GdaReportRmlDocument *doc, GdaReportRmlDocumentClass *klass)
+gda_report_rml_document_init (GdaReportRmlDocument *doc, G_GNUC_UNUSED GdaReportRmlDocumentClass *klass)
 {
 	doc->priv = g_new0 (GdaReportRmlDocumentPrivate, 1);
 }
@@ -135,8 +135,8 @@ gda_report_rml_document_get_type (void)
 static void
 gda_report_rml_document_set_property (GObject *object,
 				guint param_id,
-				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED const GValue *value,
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportRmlDocument *doc;
 
@@ -152,8 +152,8 @@ gda_report_rml_document_set_property (GObject *object,
 static void
 gda_report_rml_document_get_property (GObject *object,
 				guint param_id,
-				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GValue *value,
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportRmlDocument *doc;
 
diff --git a/libgda-report/engine/gda-report-engine.c b/libgda-report/engine/gda-report-engine.c
index 7200265..61b137e 100644
--- a/libgda-report/engine/gda-report-engine.c
+++ b/libgda-report/engine/gda-report-engine.c
@@ -95,7 +95,7 @@ gda_report_engine_class_init (GdaReportEngineClass *klass)
 }
 
 static void
-gda_report_engine_init (GdaReportEngine *eng, GdaReportEngineClass *klass)
+gda_report_engine_init (GdaReportEngine *eng, G_GNUC_UNUSED GdaReportEngineClass *klass)
 {
 	eng->priv = g_new0 (GdaReportEnginePrivate, 1);
 	eng->priv->objects = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref);
@@ -164,7 +164,7 @@ static void
 gda_report_engine_set_property (GObject *object,
 				guint param_id,
 				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportEngine *eng;
 
@@ -219,7 +219,7 @@ static void
 gda_report_engine_get_property (GObject *object,
 				guint param_id,
 				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportEngine *eng;
 
@@ -784,7 +784,7 @@ run_context_push_with_stmt (GdaReportEngine *engine, RunContext *context, GdaCon
  * Frees any memory associated to @context
  */
 static void
-run_context_pop (GdaReportEngine *engine, RunContext *context)
+run_context_pop (G_GNUC_UNUSED GdaReportEngine *engine, RunContext *context)
 {
 	/*g_print ("<<<< POP CONTEXT %p\n", context);*/
 	if (context->stmt)
@@ -1163,7 +1163,7 @@ gtype_equal (gconstpointer a, gconstpointer b)
  * Converts @value to a string
  */
 static xmlNodePtr
-value_to_node (GdaReportEngine *engine, RunContext *context, const GValue *value)
+value_to_node (G_GNUC_UNUSED GdaReportEngine *engine, G_GNUC_UNUSED RunContext *context, const GValue *value)
 {
 	xmlNodePtr retnode;
 
diff --git a/libgda-report/gda-report-document.c b/libgda-report/gda-report-document.c
index 73c20de..701787d 100644
--- a/libgda-report/gda-report-document.c
+++ b/libgda-report/gda-report-document.c
@@ -83,7 +83,7 @@ gda_report_document_class_init (GdaReportDocumentClass *klass)
 }
 
 static void
-gda_report_document_init (GdaReportDocument *doc, GdaReportDocumentClass *klass)
+gda_report_document_init (GdaReportDocument *doc, G_GNUC_UNUSED GdaReportDocumentClass *klass)
 {
 	doc->priv = g_new0 (GdaReportDocumentPrivate, 1);
 }
@@ -146,7 +146,7 @@ static void
 gda_report_document_set_property (GObject *object,
 				guint param_id,
 				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportDocument *doc;
 
@@ -175,7 +175,7 @@ static void
 gda_report_document_get_property (GObject *object,
 				guint param_id,
 				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaReportDocument *doc;
 
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
index b3255a7..7498818 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
@@ -438,9 +438,9 @@ gdaui_data_cell_renderer_bin_activate  (GtkCellRenderer            *cell,
 					GdkEvent                   *event,
 					GtkWidget                  *widget,
 					const gchar                *path,
-					GdkRectangle               *background_area,
+					G_GNUC_UNUSED GdkRectangle               *background_area,
 					GdkRectangle               *cell_area,
-					GtkCellRendererState        flags)
+					G_GNUC_UNUSED GtkCellRendererState        flags)
 {
 	GdauiDataCellRendererBin *bincell;
 	GtkTreeModel *model;
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
index 3720c95..80cb068 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
@@ -569,12 +569,12 @@ static gboolean gdaui_data_cell_renderer_combo_focus_out_event (GtkWidget *widge
 
 static GtkCellEditable *
 gdaui_data_cell_renderer_combo_start_editing (GtkCellRenderer     *cell,
-					      GdkEvent            *event,
-					      GtkWidget           *widget,
+					      G_GNUC_UNUSED GdkEvent            *event,
+					      G_GNUC_UNUSED GtkWidget           *widget,
 					      const gchar         *path,
-					      GdkRectangle        *background_area,
-					      GdkRectangle        *cell_area,
-					      GtkCellRendererState flags)
+					      G_GNUC_UNUSED GdkRectangle        *background_area,
+					      G_GNUC_UNUSED GdkRectangle        *cell_area,
+					      G_GNUC_UNUSED GtkCellRendererState flags)
 {
 	GdauiDataCellRendererCombo *datacell;
 	GtkWidget *combo;
@@ -638,7 +638,7 @@ gdaui_data_cell_renderer_combo_editing_done (GtkCellEditable *combo, GdauiDataCe
 
 
 static gboolean
-gdaui_data_cell_renderer_combo_focus_out_event (GtkWidget *widget, GdkEvent  *event, 
+gdaui_data_cell_renderer_combo_focus_out_event (GtkWidget *widget, G_GNUC_UNUSED GdkEvent  *event,
 						GdauiDataCellRendererCombo *datacell)
 {
   
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
index 26ce877..b16662e 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
@@ -326,7 +326,7 @@ gdaui_data_cell_renderer_info_new (GdauiDataStore *store,
 
 static void
 gdaui_data_cell_renderer_info_get_size (GtkCellRenderer *cell,
-					   GtkWidget       *widget,
+					   G_GNUC_UNUSED GtkWidget       *widget,
 					   GdkRectangle    *cell_area,
 					   gint            *x_offset,
 					   gint            *y_offset,
@@ -368,10 +368,10 @@ static void
 gdaui_data_cell_renderer_info_render (GtkCellRenderer      *cell,
 					 GdkWindow            *window,
 					 GtkWidget            *widget,
-					 GdkRectangle         *background_area,
+					 G_GNUC_UNUSED GdkRectangle         *background_area,
 					 GdkRectangle         *cell_area,
-					 GdkRectangle         *expose_area,
-					 GtkCellRendererState  flags)
+					 G_GNUC_UNUSED GdkRectangle         *expose_area,
+					 G_GNUC_UNUSED GtkCellRendererState  flags)
 {
 	GdauiDataCellRendererInfo *cellinfo = (GdauiDataCellRendererInfo *) cell;
 	gint width, height;
@@ -446,12 +446,12 @@ gdaui_data_cell_renderer_info_render (GtkCellRenderer      *cell,
 static void mitem_activated_cb (GtkWidget *mitem, GdauiDataCellRendererInfo *cellinfo);
 static gint
 gdaui_data_cell_renderer_info_activate (GtkCellRenderer      *cell,
-					   GdkEvent             *event,
-					   GtkWidget            *widget,
+					   G_GNUC_UNUSED GdkEvent             *event,
+					   G_GNUC_UNUSED GtkWidget            *widget,
 					   const gchar          *path,
-					   GdkRectangle         *background_area,
-					   GdkRectangle         *cell_area,
-					   GtkCellRendererState  flags)
+					   G_GNUC_UNUSED GdkRectangle         *background_area,
+					   G_GNUC_UNUSED GdkRectangle         *cell_area,
+					   G_GNUC_UNUSED GtkCellRendererState  flags)
 {
 	GdauiDataCellRendererInfo *cellinfo;
 	gchar *tmp;
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
index 1c31f58..b34ec59 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
@@ -257,7 +257,7 @@ gdaui_data_cell_renderer_textual_finalize (GObject *object)
 static void
 gdaui_data_cell_renderer_textual_get_property (GObject *object,
 					       guint param_id,
-					       GValue *value,
+					       G_GNUC_UNUSED GValue *value,
 					       GParamSpec *pspec)
 {
 	switch (param_id) {
@@ -663,7 +663,7 @@ gdaui_data_cell_renderer_textual_editing_done (GtkCellEditable *entry,
 
 static gboolean
 gdaui_data_cell_renderer_textual_focus_out_event (GtkWidget *entry,
-						  GdkEvent  *event,
+						  G_GNUC_UNUSED GdkEvent  *event,
 						  gpointer   data)
 {
 	gdaui_data_cell_renderer_textual_editing_done (GTK_CELL_EDITABLE (entry), data);
@@ -674,12 +674,12 @@ gdaui_data_cell_renderer_textual_focus_out_event (GtkWidget *entry,
 
 static GtkCellEditable *
 gdaui_data_cell_renderer_textual_start_editing (GtkCellRenderer      *cell,
-						GdkEvent             *event,
-						GtkWidget            *widget,
+						G_GNUC_UNUSED GdkEvent             *event,
+						G_GNUC_UNUSED GtkWidget            *widget,
 						const gchar          *path,
-						GdkRectangle         *background_area,
-						GdkRectangle         *cell_area,
-						GtkCellRendererState  flags)
+						G_GNUC_UNUSED GdkRectangle         *background_area,
+						G_GNUC_UNUSED GdkRectangle         *cell_area,
+						G_GNUC_UNUSED GtkCellRendererState  flags)
 {
 	GdauiDataCellRendererTextual *datacell;
 	GtkWidget *entry;
diff --git a/libgda-ui/data-entries/gdaui-entry-bin.c b/libgda-ui/data-entries/gdaui-entry-bin.c
index 996b151..83cfa07 100644
--- a/libgda-ui/data-entries/gdaui-entry-bin.c
+++ b/libgda-ui/data-entries/gdaui-entry-bin.c
@@ -371,7 +371,8 @@ button_clicked_cb (GtkWidget *button, GdauiEntryBin *dbin)
 }
 
 static void
-connect_signals (GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activate_cb)
+connect_signals (GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED GCallback modify_cb,
+		 G_GNUC_UNUSED GCallback activate_cb)
 {
 	GdauiEntryBin *dbin;
 
@@ -384,7 +385,7 @@ connect_signals (GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activ
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-boolean.c b/libgda-ui/data-entries/gdaui-entry-boolean.c
index 79dc434..4731757 100644
--- a/libgda-ui/data-entries/gdaui-entry-boolean.c
+++ b/libgda-ui/data-entries/gdaui-entry-boolean.c
@@ -251,13 +251,13 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static void
-check_toggled_cb (GtkToggleButton *toggle, GdauiEntryBoolean *mgbool)
+check_toggled_cb (GtkToggleButton *toggle, G_GNUC_UNUSED GdauiEntryBoolean *mgbool)
 {
 	gtk_toggle_button_set_inconsistent (toggle, FALSE);
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index 1cf6a93..54f01aa 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -239,7 +239,7 @@ gdaui_entry_combo_new (GdauiSet *paramlist, GdauiSetSource *source)
 }
 
 static void
-uiset_source_model_changed_cb (GdauiSet *paramlist, GdauiSetSource *source, GdauiEntryCombo* combo)
+uiset_source_model_changed_cb (G_GNUC_UNUSED GdauiSet *paramlist, GdauiSetSource *source, GdauiEntryCombo* combo)
 {
 	if (source == combo->priv->source) {
 		GSList *list, *values = NULL;
@@ -378,7 +378,7 @@ static void
 gdaui_entry_combo_set_property (GObject *object,
 				guint param_id,
 				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiEntryCombo *combo = GDAUI_ENTRY_COMBO (object);
 	if (combo->priv) {
@@ -402,7 +402,7 @@ static void
 gdaui_entry_combo_get_property (GObject *object,
 				guint param_id,
 				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiEntryCombo *combo = GDAUI_ENTRY_COMBO (object);
 	if (combo->priv) {
@@ -415,7 +415,7 @@ gdaui_entry_combo_get_property (GObject *object,
 }
 
 static void
-combo_contents_changed_cb (GdauiCombo *entry, GdauiEntryCombo *combo)
+combo_contents_changed_cb (G_GNUC_UNUSED GdauiCombo *entry, GdauiEntryCombo *combo)
 {
 	if (gdaui_combo_is_null_selected (GDAUI_COMBO (combo->priv->combo_entry))) /* Set to NULL? */ {
 		gdaui_entry_combo_set_values (combo, NULL);
@@ -699,7 +699,7 @@ gdaui_entry_combo_get_reference_values (GdauiEntryCombo *combo)
  * values provided in the list is modified.
  */
 void
-gdaui_entry_combo_set_default_values (GdauiEntryCombo *combo, GSList *values)
+gdaui_entry_combo_set_default_values (GdauiEntryCombo *combo, G_GNUC_UNUSED GSList *values)
 {
 	g_return_if_fail (combo && GDAUI_IS_ENTRY_COMBO (combo));
 	g_return_if_fail (combo->priv);
@@ -741,7 +741,7 @@ gdaui_entry_combo_get_value (GdauiDataEntry *iface)
 }
 
 static void
-gdaui_entry_combo_set_ref_value (GdauiDataEntry *iface, const GValue * value)
+gdaui_entry_combo_set_ref_value (GdauiDataEntry *iface, G_GNUC_UNUSED const GValue * value)
 {
         GdauiEntryCombo *combo;
 	
@@ -767,7 +767,7 @@ gdaui_entry_combo_get_ref_value (GdauiDataEntry *iface)
 }
 
 static void
-gdaui_entry_combo_set_value_default (GdauiDataEntry *iface, const GValue * value)
+gdaui_entry_combo_set_value_default (GdauiDataEntry *iface, G_GNUC_UNUSED const GValue * value)
 {
         GdauiEntryCombo *combo;
 	
@@ -1020,7 +1020,7 @@ gdaui_entry_combo_get_attributes (GdauiDataEntry *iface)
 
 
 static gboolean
-gdaui_entry_combo_can_expand (GdauiDataEntry *iface, gboolean horiz)
+gdaui_entry_combo_can_expand (GdauiDataEntry *iface, G_GNUC_UNUSED gboolean horiz)
 {
 	GdauiEntryCombo *combo;
 
diff --git a/libgda-ui/data-entries/gdaui-entry-common-time.c b/libgda-ui/data-entries/gdaui-entry-common-time.c
index 972f528..702fc11 100644
--- a/libgda-ui/data-entries/gdaui-entry-common-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-common-time.c
@@ -153,7 +153,7 @@ gdaui_entry_common_time_class_init (GdauiEntryCommonTimeClass * class)
 }
 
 static gboolean
-key_press_event_cb (GdauiEntryCommonTime *mgtim, GdkEventKey *key_event, gpointer data)
+key_press_event_cb (GdauiEntryCommonTime *mgtim, GdkEventKey *key_event, G_GNUC_UNUSED gpointer data)
 {
 	if (key_event->keyval == GDK_Escape)
 		mgtim->priv->editing_canceled = TRUE;
@@ -475,7 +475,7 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 
 typedef void (*Callback2) (gpointer, gpointer);
 static gboolean
-focus_out_cb (GtkWidget *widget, GdkEventFocus *event, GdauiEntryCommonTime *mgtim)
+focus_out_cb (GtkWidget *widget, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryCommonTime *mgtim)
 {
 	GCallback activate_cb;
 	activate_cb = g_object_get_data (G_OBJECT (widget), "_activate_cb");
@@ -519,7 +519,7 @@ connect_signals (GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activ
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
@@ -646,7 +646,8 @@ create_entry_date (GdauiEntryCommonTime *mgtim)
 }
 
 static void
-entry_date_insert_func (GdauiFormattedEntry *fentry, gunichar insert_char, gint virt_pos, gpointer data)
+entry_date_insert_func (G_GNUC_UNUSED GdauiFormattedEntry *fentry, gunichar insert_char,
+			G_GNUC_UNUSED gint virt_pos, gpointer data)
 {
 	GValue *value;
 	GType type;
@@ -725,7 +726,7 @@ entry_date_insert_func (GdauiFormattedEntry *fentry, gunichar insert_char, gint
 }
 
 static void
-internal_set_time (GtkWidget *widget, GdauiEntryCommonTime *mgtim)
+internal_set_time (G_GNUC_UNUSED GtkWidget *widget, GdauiEntryCommonTime *mgtim)
 {
 	/* the aim is that when the mode is TIMESTAMP, when the user sets a date,
 	 * then the time automatically sets to 00:00:00
@@ -760,7 +761,7 @@ hide_popup (GdauiEntryCommonTime *mgtim)
 }
 
 static gint
-date_delete_popup (GtkWidget *widget, GdauiEntryCommonTime *mgtim)
+date_delete_popup (G_GNUC_UNUSED GtkWidget *widget, GdauiEntryCommonTime *mgtim)
 {
 	hide_popup (mgtim);
 	return TRUE;
@@ -832,7 +833,7 @@ date_day_selected (GtkCalendar *calendar, GdauiEntryCommonTime *mgtim)
 }
 
 static void
-date_day_selected_double_click (GtkCalendar *calendar, GdauiEntryCommonTime *mgtim)
+date_day_selected_double_click (G_GNUC_UNUSED GtkCalendar *calendar, GdauiEntryCommonTime *mgtim)
 {
 	hide_popup (mgtim);
 }
@@ -1056,7 +1057,8 @@ create_entry_time (GdauiEntryCommonTime *mgtim)
 }
 
 static void
-entry_time_insert_func (GdauiFormattedEntry *fentry, gunichar insert_char, gint virt_pos, gpointer data)
+entry_time_insert_func (G_GNUC_UNUSED GdauiFormattedEntry *fentry, gunichar insert_char,
+			G_GNUC_UNUSED gint virt_pos, gpointer data)
 {
 	GValue *value;
 	GType type;
@@ -1122,13 +1124,13 @@ create_entry_ts (GdauiEntryCommonTime *mgtim)
  * GtkCellEditable interface
  */
 static void
-gtk_cell_editable_entry_editing_done_cb (GtkEntry *entry, GdauiEntryCommonTime *mgtim) 
+gtk_cell_editable_entry_editing_done_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryCommonTime *mgtim)
 {
 	gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (mgtim));
 }
 
 static void
-gtk_cell_editable_entry_remove_widget_cb (GtkEntry *entry, GdauiEntryCommonTime *mgtim) 
+gtk_cell_editable_entry_remove_widget_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryCommonTime *mgtim)
 {
 	gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE (mgtim));
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-date.c b/libgda-ui/data-entries/gdaui-entry-date.c
index 5f7173c..d839104 100644
--- a/libgda-ui/data-entries/gdaui-entry-date.c
+++ b/libgda-ui/data-entries/gdaui-entry-date.c
@@ -62,7 +62,7 @@ gdaui_entry_date_class_init (GdauiEntryDateClass * class)
 }
 
 static void
-gdaui_entry_date_init (GdauiEntryDate * gdaui_entry_date)
+gdaui_entry_date_init (G_GNUC_UNUSED GdauiEntryDate * gdaui_entry_date)
 {
 }
 
diff --git a/libgda-ui/data-entries/gdaui-entry-none.c b/libgda-ui/data-entries/gdaui-entry-none.c
index 81ae605..e5cf71c 100644
--- a/libgda-ui/data-entries/gdaui-entry-none.c
+++ b/libgda-ui/data-entries/gdaui-entry-none.c
@@ -213,7 +213,8 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 }
 
 static void
-connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activate_cb)
+connect_signals(GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED GCallback modify_cb,
+		G_GNUC_UNUSED GCallback activate_cb)
 {
 	GdauiEntryNone *entry;
 
@@ -223,7 +224,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-number.c b/libgda-ui/data-entries/gdaui-entry-number.c
index ac79e7a..0940eba 100644
--- a/libgda-ui/data-entries/gdaui-entry-number.c
+++ b/libgda-ui/data-entries/gdaui-entry-number.c
@@ -147,7 +147,7 @@ gdaui_entry_number_class_init (GdauiEntryNumberClass * klass)
 }
 
 static gboolean
-key_press_event_cb (GdauiEntryNumber *mgstr, GdkEventKey *key_event, gpointer data)
+key_press_event_cb (GdauiEntryNumber *mgstr, GdkEventKey *key_event, G_GNUC_UNUSED gpointer data)
 {
 	if (key_event->keyval == GDK_Escape)
 		mgstr->priv->editing_canceled = TRUE;
@@ -355,7 +355,7 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 
 typedef void (*Callback2) (gpointer, gpointer);
 static gboolean
-focus_out_cb (GtkWidget *widget, GdkEventFocus *event, GdauiEntryNumber *mgstr)
+focus_out_cb (GtkWidget *widget, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryNumber *mgstr)
 {
 	GCallback activate_cb;
 	activate_cb = g_object_get_data (G_OBJECT (widget), "_activate_cb");
@@ -384,7 +384,7 @@ connect_signals (GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activ
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
@@ -415,13 +415,13 @@ grab_focus (GdauiEntryWrapper *mgwrap)
  * GtkCellEditable interface
  */
 static void
-gtk_cell_editable_entry_editing_done_cb (GtkEntry *entry, GdauiEntryNumber *mgstr) 
+gtk_cell_editable_entry_editing_done_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryNumber *mgstr)
 {
 	gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (mgstr));
 }
 
 static void
-gtk_cell_editable_entry_remove_widget_cb (GtkEntry *entry, GdauiEntryNumber *mgstr) 
+gtk_cell_editable_entry_remove_widget_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryNumber *mgstr)
 {
 	gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE (mgstr));
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-shell.c b/libgda-ui/data-entries/gdaui-entry-shell.c
index 3e9d13e..9ece73a 100644
--- a/libgda-ui/data-entries/gdaui-entry-shell.c
+++ b/libgda-ui/data-entries/gdaui-entry-shell.c
@@ -321,7 +321,7 @@ gdaui_entry_shell_pack_entry (GdauiEntryShell *shell, GtkWidget *main_widget)
 }
 
 static void
-contents_modified_cb (GdauiEntryShell *shell, gpointer unused)
+contents_modified_cb (GdauiEntryShell *shell, G_GNUC_UNUSED gpointer unused)
 {
 	gdaui_entry_shell_refresh (shell);
 }
@@ -329,7 +329,7 @@ contents_modified_cb (GdauiEntryShell *shell, gpointer unused)
 static void mitem_activated_cb (GtkWidget *mitem, GdauiEntryShell *shell);
 static GdaValueAttribute gdaui_entry_shell_refresh_attributes (GdauiEntryShell *shell);
 static gint
-event_cb (GtkWidget *widget, GdkEvent *event, GdauiEntryShell *shell)
+event_cb (G_GNUC_UNUSED GtkWidget *widget, GdkEvent *event, GdauiEntryShell *shell)
 {
 	gboolean done = FALSE;
 
diff --git a/libgda-ui/data-entries/gdaui-entry-string.c b/libgda-ui/data-entries/gdaui-entry-string.c
index 5ff6b8a..d6d0d78 100644
--- a/libgda-ui/data-entries/gdaui-entry-string.c
+++ b/libgda-ui/data-entries/gdaui-entry-string.c
@@ -160,7 +160,7 @@ gdaui_entry_string_class_init (GdauiEntryStringClass * klass)
 }
 
 static gboolean
-key_press_event_cb (GdauiEntryString *mgstr, GdkEventKey *key_event, gpointer data)
+key_press_event_cb (GdauiEntryString *mgstr, GdkEventKey *key_event, G_GNUC_UNUSED gpointer data)
 {
 	if (key_event->keyval == GDK_Escape)
 		mgstr->priv->editing_canceled = TRUE;
@@ -473,7 +473,7 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 
 typedef void (*Callback2) (gpointer, gpointer);
 static gboolean
-focus_out_cb (GtkWidget *widget, GdkEventFocus *event, GdauiEntryString *mgstr)
+focus_out_cb (GtkWidget *widget, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryString *mgstr)
 {
 	GCallback activate_cb;
 	activate_cb = g_object_get_data (G_OBJECT (widget), "_activate_cb");
@@ -555,13 +555,13 @@ grab_focus (GdauiEntryWrapper *mgwrap)
  * GtkCellEditable interface
  */
 static void
-gtk_cell_editable_entry_editing_done_cb (GtkEntry *entry, GdauiEntryString *mgstr) 
+gtk_cell_editable_entry_editing_done_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryString *mgstr)
 {
 	gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (mgstr));
 }
 
 static void
-gtk_cell_editable_entry_remove_widget_cb (GtkEntry *entry, GdauiEntryString *mgstr) 
+gtk_cell_editable_entry_remove_widget_cb (G_GNUC_UNUSED GtkEntry *entry, GdauiEntryString *mgstr)
 {
 	gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE (mgstr));
 }
diff --git a/libgda-ui/data-entries/gdaui-entry-time.c b/libgda-ui/data-entries/gdaui-entry-time.c
index bf46496..5b74a02 100644
--- a/libgda-ui/data-entries/gdaui-entry-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-time.c
@@ -62,7 +62,7 @@ gdaui_entry_time_class_init (GdauiEntryTimeClass * class)
 }
 
 static void
-gdaui_entry_time_init (GdauiEntryTime * gdaui_entry_time)
+gdaui_entry_time_init (G_GNUC_UNUSED GdauiEntryTime * gdaui_entry_time)
 {
 }
 
diff --git a/libgda-ui/data-entries/gdaui-entry-timestamp.c b/libgda-ui/data-entries/gdaui-entry-timestamp.c
index a38e3a9..4c22e39 100644
--- a/libgda-ui/data-entries/gdaui-entry-timestamp.c
+++ b/libgda-ui/data-entries/gdaui-entry-timestamp.c
@@ -62,7 +62,7 @@ gdaui_entry_timestamp_class_init (GdauiEntryTimestampClass * class)
 }
 
 static void
-gdaui_entry_timestamp_init (GdauiEntryTimestamp * gdaui_entry_timestamp)
+gdaui_entry_timestamp_init (G_GNUC_UNUSED GdauiEntryTimestamp * gdaui_entry_timestamp)
 {
 }
 
diff --git a/libgda-ui/data-entries/gdaui-entry-wrapper.c b/libgda-ui/data-entries/gdaui-entry-wrapper.c
index 4df13a0..338a942 100644
--- a/libgda-ui/data-entries/gdaui-entry-wrapper.c
+++ b/libgda-ui/data-entries/gdaui-entry-wrapper.c
@@ -284,7 +284,7 @@ static void
 gdaui_entry_wrapper_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiEntryWrapper *mgwrap = GDAUI_ENTRY_WRAPPER (object);
 	if (mgwrap->priv) {
@@ -318,7 +318,7 @@ static void
 gdaui_entry_wrapper_get_property (GObject *object,
 				  guint param_id,
 				  GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiEntryWrapper *mgwrap = GDAUI_ENTRY_WRAPPER (object);
 	if (mgwrap->priv) {
@@ -362,7 +362,7 @@ gdaui_entry_wrapper_contents_activated (GdauiEntryWrapper *mgwrap)
 
 static void gdaui_entry_wrapper_emit_signal (GdauiEntryWrapper *mgwrap);
 static void
-contents_changed_cb (GtkWidget *entry, GdauiEntryWrapper *mgwrap)
+contents_changed_cb (G_GNUC_UNUSED GtkWidget *entry, GdauiEntryWrapper *mgwrap)
 {
 	/* @entry is not used */
 	if (! mgwrap->priv->signals_blocked) {
@@ -374,7 +374,7 @@ contents_changed_cb (GtkWidget *entry, GdauiEntryWrapper *mgwrap)
 }
 
 static void
-contents_activated_cb (GtkWidget *entry, GdauiEntryWrapper *mgwrap)
+contents_activated_cb (G_GNUC_UNUSED GtkWidget *entry, GdauiEntryWrapper *mgwrap)
 {
 	/* @entry is not used */
 	if (! mgwrap->priv->signals_blocked) {
diff --git a/libgda-ui/data-entries/gdaui-entry.c b/libgda-ui/data-entries/gdaui-entry.c
index 8613243..cd12afe 100644
--- a/libgda-ui/data-entries/gdaui-entry.c
+++ b/libgda-ui/data-entries/gdaui-entry.c
@@ -508,7 +508,7 @@ gdaui_entry_set_width_chars (GdauiEntry *entry, gint max_width)
  */
 
 static void
-changed_cb (GtkEditable *editable, gpointer data)
+changed_cb (GtkEditable *editable, G_GNUC_UNUSED gpointer data)
 {
         GdauiEntry *entry = (GdauiEntry*) editable;
         if (entry->priv->internal_changes > 0)
@@ -516,7 +516,7 @@ changed_cb (GtkEditable *editable, gpointer data)
 }
 
 static void
-delete_text_cb (GtkEditable *editable, gint start_pos, gint end_pos, gpointer data)
+delete_text_cb (GtkEditable *editable, gint start_pos, gint end_pos, G_GNUC_UNUSED gpointer data)
 {
 	const gchar *otext = NULL;
 	gint len;
@@ -579,7 +579,8 @@ delete_text_cb (GtkEditable *editable, gint start_pos, gint end_pos, gpointer da
 
 
 static void
-insert_text_cb (GtkEditable *editable, const gchar *text, gint text_length, gint *position, gpointer data)
+insert_text_cb (GtkEditable *editable, const gchar *text, gint text_length, gint *position,
+		G_GNUC_UNUSED gpointer data)
 {
 	const gchar *otext;
 	gint clen;
diff --git a/libgda-ui/data-entries/gdaui-formatted-entry.c b/libgda-ui/data-entries/gdaui-formatted-entry.c
index 21775d7..6cbff98 100644
--- a/libgda-ui/data-entries/gdaui-formatted-entry.c
+++ b/libgda-ui/data-entries/gdaui-formatted-entry.c
@@ -248,7 +248,7 @@ is_writable (GdauiFormattedEntry *fentry, gint pos, const gchar *ptr)
  * Returns: %TRUE if @wc can be used to replace @ptr
  */
 static gboolean
-is_allowed (GdauiFormattedEntry *fentry, const gchar *ptr, const gunichar wc, gunichar *out_wc)
+is_allowed (G_GNUC_UNUSED GdauiFormattedEntry *fentry, const gchar *ptr, const gunichar wc, gunichar *out_wc)
 {
 	gunichar fwc;
 
@@ -306,7 +306,7 @@ gdaui_formatted_entry_get_empty_text (GdauiEntry *entry)
 }
 
 static void
-gdaui_formatted_entry_assume_insert (GdauiEntry *entry, const gchar *text, gint text_length,
+gdaui_formatted_entry_assume_insert (GdauiEntry *entry, const gchar *text, G_GNUC_UNUSED gint text_length,
 				     gint *virt_pos, gint offset)
 {
 	GdauiFormattedEntry *fentry;
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
index 26b8a13..013fe4d 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
@@ -232,7 +232,7 @@ gdaui_data_cell_renderer_password_finalize (GObject *object)
 static void
 gdaui_data_cell_renderer_password_get_property (GObject *object,
 						guint param_id,
-						GValue *value,
+						G_GNUC_UNUSED GValue *value,
 						GParamSpec *pspec)
 {
 	switch (param_id) {
@@ -439,7 +439,7 @@ gdaui_data_cell_renderer_password_editing_done (GtkCellEditable *entry,
 
 static gboolean
 gdaui_data_cell_renderer_password_focus_out_event (GtkWidget *entry,
-						   GdkEvent  *event,
+						   G_GNUC_UNUSED GdkEvent  *event,
 						   gpointer   data)
 {
 	gdaui_data_cell_renderer_password_editing_done (GTK_CELL_EDITABLE (entry), data);
@@ -450,12 +450,12 @@ gdaui_data_cell_renderer_password_focus_out_event (GtkWidget *entry,
 
 static GtkCellEditable *
 gdaui_data_cell_renderer_password_start_editing (GtkCellRenderer      *cell,
-						 GdkEvent             *event,
-						 GtkWidget            *widget,
+						 G_GNUC_UNUSED GdkEvent             *event,
+						 G_GNUC_UNUSED GtkWidget            *widget,
 						 const gchar          *path,
-						 GdkRectangle         *background_area,
-						 GdkRectangle         *cell_area,
-						 GtkCellRendererState  flags)
+						 G_GNUC_UNUSED GdkRectangle         *background_area,
+						 G_GNUC_UNUSED GdkRectangle         *cell_area,
+						 G_GNUC_UNUSED GtkCellRendererState  flags)
 {
 	GdauiDataCellRendererPassword *datacell;
 	GtkWidget *entry;
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
index d3fa4a0..ff6a280 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
@@ -125,7 +125,7 @@ gdaui_data_cell_renderer_pict_get_type (void)
 }
 
 static void
-notify_property_cb (GtkCellRenderer *cell, GParamSpec *pspec, gpointer data)
+notify_property_cb (GtkCellRenderer *cell, GParamSpec *pspec, G_GNUC_UNUSED gpointer data)
 {
 	if (!strcmp (pspec->name, "stock-size")) {
 		GdauiDataCellRendererPict *pictcell;
@@ -439,12 +439,12 @@ pict_data_changed_cb (GdauiDataCellRendererPict *pictcell)
 
 static gboolean
 gdaui_data_cell_renderer_pict_activate  (GtkCellRenderer            *cell,
-					 GdkEvent                   *event,
+					 G_GNUC_UNUSED GdkEvent                   *event,
 					 GtkWidget                  *widget,
 					 const gchar                *path,
-					 GdkRectangle               *background_area,
-					 GdkRectangle               *cell_area,
-					 GtkCellRendererState        flags)
+					 G_GNUC_UNUSED GdkRectangle               *background_area,
+					 G_GNUC_UNUSED GdkRectangle               *cell_area,
+					 G_GNUC_UNUSED GtkCellRendererState        flags)
 {
 	GdauiDataCellRendererPict *pictcell;
 
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c b/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
index b945123..7e6c5f8 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
@@ -204,7 +204,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 
 /* makes sure the mask part of the widget is compatible with the ip part */
 static gboolean
-ip_focus_out_event_cb (GtkEntry *entry, GdkEventFocus *event, GdauiEntryCidr *mgcidr)
+ip_focus_out_event_cb (G_GNUC_UNUSED GtkEntry *entry, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryCidr *mgcidr)
 {
 	gint ip;
 
@@ -236,7 +236,7 @@ ip_focus_out_event_cb (GtkEntry *entry, GdkEventFocus *event, GdauiEntryCidr *mg
 /* makes sure the ip part of the widget is truncated to the right number of bits corresponding to
  * the mask part */
 static gboolean
-mask_focus_out_event_cb (GtkEntry *entry, GdkEventFocus *event, GdauiEntryCidr *mgcidr)
+mask_focus_out_event_cb (G_GNUC_UNUSED GtkEntry *entry, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryCidr *mgcidr)
 {
 	gint mask;
 
@@ -249,7 +249,7 @@ mask_focus_out_event_cb (GtkEntry *entry, GdkEventFocus *event, GdauiEntryCidr *
 
 static void popup_menu_item_activate_cb (GtkMenuItem *item, GdauiEntryCidr *mgcidr);
 static void
-mask_popup (GtkEntry *entry, GtkMenu *arg1, GdauiEntryCidr *mgcidr)
+mask_popup (G_GNUC_UNUSED GtkEntry *entry, GtkMenu *arg1, GdauiEntryCidr *mgcidr)
 {
 	GtkWidget *submenu, *item;
 	gint net;
@@ -594,7 +594,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
index c9831e4..3a5f7b2 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
@@ -182,7 +182,7 @@ gdaui_entry_filesel_finalize (GObject   * object)
 }
 
 static void
-button_clicled_cb (GtkWidget *button, GdauiEntryFilesel *filesel)
+button_clicked_cb (G_GNUC_UNUSED GtkWidget *button, GdauiEntryFilesel *filesel)
 {
 	
 	GtkWidget *dlg;
@@ -235,7 +235,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 	gtk_box_pack_start (GTK_BOX (hbox), wid, FALSE, TRUE, 5);
 	gtk_widget_show (wid);
 	g_signal_connect (G_OBJECT (wid), "clicked",
-			  G_CALLBACK (button_clicled_cb), filesel);
+			  G_CALLBACK (button_clicked_cb), filesel);
 	
 	return hbox;
 }
@@ -314,7 +314,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-password.c b/libgda-ui/data-entries/plugins/gdaui-entry-password.c
index c53d883..6ef7e46 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-password.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-password.c
@@ -298,7 +298,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
@@ -318,7 +318,8 @@ signal_handlers_unblock (GdauiEntryPassword *mgstr)
 }
 
 static void
-entry_delete_text_cb (GtkEditable *editable, gint start_pos, gint end_pos, GdauiEntryPassword *mgstr)
+entry_delete_text_cb (GtkEditable *editable, G_GNUC_UNUSED gint start_pos, G_GNUC_UNUSED gint end_pos,
+		      GdauiEntryPassword *mgstr)
 {
 	if (!mgstr->priv->needs_encoding) {
 		mgstr->priv->needs_encoding = TRUE;
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-pict.c b/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
index 16cd2bc..2af6509 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
@@ -211,7 +211,7 @@ static gboolean event_cb (GtkWidget *button, GdkEvent *event, GdauiEntryPict *mg
 static void size_allocate_cb (GtkWidget *wid, GtkAllocation *allocation, GdauiEntryPict *mgpict);
 
 static void
-realize_cb (GdauiEntryPict *mgpict, GdauiEntryWrapper *mgwrap)
+realize_cb (GdauiEntryPict *mgpict, G_GNUC_UNUSED GdauiEntryWrapper *mgwrap)
 {
 	display_image (mgpict, NULL, NULL, NULL);
 }
@@ -264,7 +264,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 }
 
 static void
-size_allocate_cb (GtkWidget *wid, GtkAllocation *allocation, GdauiEntryPict *mgpict)
+size_allocate_cb (G_GNUC_UNUSED GtkWidget *wid, GtkAllocation *allocation, GdauiEntryPict *mgpict)
 {
 	if ((mgpict->priv->size.width != allocation->width) ||
 	    (mgpict->priv->size.height != allocation->height)) {
@@ -440,13 +440,14 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 }
 
 static void
-connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activate_cb)
+connect_signals(G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED GCallback modify_cb,
+		G_GNUC_UNUSED GCallback activate_cb)
 {
-	/* doe nothing because we manullay call gdaui_entry_wrapper_contents_changed() */
+	/* do nothing because we manually call gdaui_entry_wrapper_contents_changed() */
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return TRUE;
 }
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-text.c b/libgda-ui/data-entries/plugins/gdaui-entry-text.c
index 8812881..418f996 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-text.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-text.c
@@ -383,7 +383,7 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 
 typedef void (*Callback2) (gpointer, gpointer);
 static gboolean
-focus_out_cb (GtkWidget *widget, GdkEventFocus *event, GdauiEntryText *mgtxt)
+focus_out_cb (GtkWidget *widget, G_GNUC_UNUSED GdkEventFocus *event, GdauiEntryText *mgtxt)
 {
 	GCallback activate_cb;
 	activate_cb = g_object_get_data (G_OBJECT (widget), "_activate_cb");
@@ -411,7 +411,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, gboolean horiz)
 {
 	if (horiz)
 		return FALSE;
diff --git a/libgda-ui/data-entries/plugins/libmain.c b/libgda-ui/data-entries/plugins/libmain.c
index 8b83ff4..d622c0a 100644
--- a/libgda-ui/data-entries/plugins/libmain.c
+++ b/libgda-ui/data-entries/plugins/libmain.c
@@ -272,7 +272,7 @@ plugin_entry_filesel_create_func (GdaDataHandler *handler, GType type, const gch
 }
 
 static GdauiDataEntry *
-plugin_entry_cidr_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+plugin_entry_cidr_create_func (GdaDataHandler *handler, GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_cidr_new (handler, type);
 }
diff --git a/libgda-ui/data-entries/widget-embedder.c b/libgda-ui/data-entries/widget-embedder.c
index 965f6d3..9c08831 100644
--- a/libgda-ui/data-entries/widget-embedder.c
+++ b/libgda-ui/data-entries/widget-embedder.c
@@ -43,7 +43,7 @@ static GType    widget_embedder_child_type    (GtkContainer    *container);
 G_DEFINE_TYPE (WidgetEmbedder, widget_embedder, GTK_TYPE_CONTAINER);
 
 static void
-to_child (WidgetEmbedder *bin,
+to_child (G_GNUC_UNUSED WidgetEmbedder *bin,
           double         widget_x,
           double         widget_y,
           double        *x_out,
@@ -54,7 +54,7 @@ to_child (WidgetEmbedder *bin,
 }
 
 static void
-to_parent (WidgetEmbedder *bin,
+to_parent (G_GNUC_UNUSED WidgetEmbedder *bin,
            double         offscreen_x,
            double         offscreen_y,
            double        *x_out,
@@ -101,7 +101,7 @@ widget_embedder_new (void)
 }
 
 static GdkWindow *
-pick_offscreen_child (GdkWindow     *offscreen_window,
+pick_offscreen_child (G_GNUC_UNUSED GdkWindow     *offscreen_window,
                       double         widget_x,
                       double         widget_y,
                       WidgetEmbedder *bin)
@@ -122,7 +122,7 @@ pick_offscreen_child (GdkWindow     *offscreen_window,
 }
 
 static void
-offscreen_window_to_parent (GdkWindow     *offscreen_window,
+offscreen_window_to_parent (G_GNUC_UNUSED GdkWindow     *offscreen_window,
                             double         offscreen_x,
                             double         offscreen_y,
                             double        *parent_x,
@@ -133,7 +133,7 @@ offscreen_window_to_parent (GdkWindow     *offscreen_window,
 }
 
 static void
-offscreen_window_from_parent (GdkWindow     *window,
+offscreen_window_from_parent (G_GNUC_UNUSED GdkWindow     *window,
                               double         parent_x,
                               double         parent_y,
                               double        *offscreen_x,
@@ -275,7 +275,7 @@ widget_embedder_remove (GtkContainer *container,
 
 static void
 widget_embedder_forall (GtkContainer *container,
-                        gboolean      include_internals,
+                        G_GNUC_UNUSED gboolean      include_internals,
                         GtkCallback   callback,
                         gpointer      callback_data)
 {
@@ -354,7 +354,7 @@ widget_embedder_size_allocate (GtkWidget     *widget,
 
 static gboolean
 widget_embedder_damage (GtkWidget      *widget,
-                        GdkEventExpose *event)
+                        G_GNUC_UNUSED GdkEventExpose *event)
 {
 	gdk_window_invalidate_rect (gtk_widget_get_window (widget), NULL, FALSE);
 
diff --git a/libgda-ui/demos/cloud.c b/libgda-ui/demos/cloud.c
index f3cd3ba..0f8b2dc 100644
--- a/libgda-ui/demos/cloud.c
+++ b/libgda-ui/demos/cloud.c
@@ -21,7 +21,7 @@ mode_changed_cb (GtkToggleButton *button, GdauiCloud *cloud)
 }
 
 static void
-selection_changed_cb (GdauiDataSelector *selector, gpointer data)
+selection_changed_cb (GdauiDataSelector *selector, G_GNUC_UNUSED gpointer data)
 {
 	GString *string = NULL;
 	GArray *sel;
diff --git a/libgda-ui/demos/combo.c b/libgda-ui/demos/combo.c
index 5b40ec0..774ffd3 100644
--- a/libgda-ui/demos/combo.c
+++ b/libgda-ui/demos/combo.c
@@ -34,7 +34,7 @@ column_show_changed_cb (GtkCheckButton *cbutton, GdauiCombo *combo)
 }
 
 static void
-selection_changed_cb (GdauiDataSelector *selector, gpointer data)
+selection_changed_cb (GdauiDataSelector *selector, G_GNUC_UNUSED gpointer data)
 {
 	GString *string = NULL;
 	GArray *sel;
diff --git a/libgda-ui/demos/ddl_queries.c b/libgda-ui/demos/ddl_queries.c
index 90788c8..c47a59f 100644
--- a/libgda-ui/demos/ddl_queries.c
+++ b/libgda-ui/demos/ddl_queries.c
@@ -160,7 +160,7 @@ do_ddl_queries (GtkWidget *do_widget)
 }
 
 static void
-tested_provider_changed_cb (GdauiProviderSelector *prov_sel, DemoData *data)
+tested_provider_changed_cb (G_GNUC_UNUSED GdauiProviderSelector *prov_sel, DemoData *data)
 {
 	if (data->prov) {
 		g_object_unref (data->prov);
@@ -225,7 +225,7 @@ get_provider_obj (DemoData *data)
 }
 
 static void
-tested_operation_changed_cb (GdauiCombo *combo, DemoData *data)
+tested_operation_changed_cb (G_GNUC_UNUSED GdauiCombo *combo, DemoData *data)
 {
 	GdaServerProvider *prov = NULL;
 	GdaServerOperationType type;
@@ -395,7 +395,7 @@ extract_named_parameters (GdaServerOperation *op, const gchar *root_path, GtkTex
 }
 
 static void
-show_named_parameters (GtkButton *button, DemoData *data)
+show_named_parameters (G_GNUC_UNUSED GtkButton *button, DemoData *data)
 {
 	GtkWidget *dlg, *label;
 	gchar **root_nodes;
@@ -461,7 +461,7 @@ show_named_parameters (GtkButton *button, DemoData *data)
 }
 
 static void
-show_sql (GtkButton *button, DemoData *data)
+show_sql (G_GNUC_UNUSED GtkButton *button, DemoData *data)
 {
 	GdaServerProvider *prov;
 
diff --git a/libgda-ui/demos/linked_model_param.c b/libgda-ui/demos/linked_model_param.c
index 06b4ba4..8011968 100644
--- a/libgda-ui/demos/linked_model_param.c
+++ b/libgda-ui/demos/linked_model_param.c
@@ -12,7 +12,7 @@ extern GdaSqlParser *demo_parser;
 static GtkWidget *window = NULL;
 
 static void
-salesrep_changed_cb (GdaHolder *holder, gpointer data)
+salesrep_changed_cb (GdaHolder *holder, G_GNUC_UNUSED gpointer data)
 {
 	gchar *str;
 	str = gda_value_stringify (gda_holder_get_value (holder));
diff --git a/libgda-ui/demos/login.c b/libgda-ui/demos/login.c
index d52eb96..a6577df 100644
--- a/libgda-ui/demos/login.c
+++ b/libgda-ui/demos/login.c
@@ -8,7 +8,7 @@
 static GtkWidget *window = NULL;
 
 static void
-cb1_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
+cb1_toggled_cb (G_GNUC_UNUSED GtkCheckButton *cb, GtkWidget *login)
 {
 	GdauiLoginMode mode;
 	g_object_get (G_OBJECT (login), "mode", &mode, NULL);
@@ -17,7 +17,7 @@ cb1_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
 }
 
 static void
-cb2_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
+cb2_toggled_cb (G_GNUC_UNUSED GtkCheckButton *cb, GtkWidget *login)
 {
 	GdauiLoginMode mode;
 	g_object_get (G_OBJECT (login), "mode", &mode, NULL);
@@ -26,7 +26,7 @@ cb2_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
 }
 
 static void
-cb3_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
+cb3_toggled_cb (G_GNUC_UNUSED GtkCheckButton *cb, GtkWidget *login)
 {
 	GdauiLoginMode mode;
 	g_object_get (G_OBJECT (login), "mode", &mode, NULL);
@@ -35,7 +35,7 @@ cb3_toggled_cb (GtkCheckButton *cb, GtkWidget *login)
 }
 
 static void
-button_clicked_cb (GtkButton *button, GtkWidget *login)
+button_clicked_cb (G_GNUC_UNUSED GtkButton *button, GtkWidget *login)
 {
 	const GdaDsnInfo *info;
 	info = gdaui_login_get_connection_information (GDAUI_LOGIN (login));
@@ -49,7 +49,7 @@ button_clicked_cb (GtkButton *button, GtkWidget *login)
 }
 
 static void
-login_changed_cb (GdauiLogin *login, gboolean is_valid, GtkLabel *label)
+login_changed_cb (G_GNUC_UNUSED GdauiLogin *login, gboolean is_valid, GtkLabel *label)
 {
 	if (is_valid)
 		gtk_label_set_markup (label, "<span foreground='#00AA00'>Valid information</span>");
diff --git a/libgda-ui/demos/main.c b/libgda-ui/demos/main.c
index fb6102e..dc25d20 100644
--- a/libgda-ui/demos/main.c
+++ b/libgda-ui/demos/main.c
@@ -73,7 +73,7 @@ demo_find_file (const char *base, GError **err)
 }
 
 static void
-window_closed_cb (GtkWidget *window, gpointer data)
+window_closed_cb (G_GNUC_UNUSED GtkWidget *window, gpointer data)
 {
 	CallbackData *cbdata = data;
 	GtkTreeIter iter;
@@ -531,7 +531,7 @@ load_file (const gchar *filename)
 void
 row_activated_cb (GtkTreeView       *tree_view,
                   GtkTreePath       *path,
-		  GtkTreeViewColumn *column)
+		  G_GNUC_UNUSED GtkTreeViewColumn *column)
 {
 	GtkTreeIter iter;
 	PangoStyle style;
diff --git a/libgda-ui/demos/provider_sel.c b/libgda-ui/demos/provider_sel.c
index 5a9d5fd..0b80d93 100644
--- a/libgda-ui/demos/provider_sel.c
+++ b/libgda-ui/demos/provider_sel.c
@@ -9,7 +9,7 @@
 static GtkWidget *window = NULL;
 
 static void
-selection_changed_cb (GdauiProviderSelector *psel, gpointer data)
+selection_changed_cb (GdauiProviderSelector *psel, G_GNUC_UNUSED gpointer data)
 {
 	g_print ("Provider selected: %s\n", gdaui_provider_selector_get_provider (psel));
 }
diff --git a/libgda-ui/demos/tree.c b/libgda-ui/demos/tree.c
index 8c557c2..9d7e672 100644
--- a/libgda-ui/demos/tree.c
+++ b/libgda-ui/demos/tree.c
@@ -73,7 +73,7 @@ timout_cb (GdaTreeNode *node)
 
 static GSList *
 node_func (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
-	   gboolean *out_error, GError **error)
+	   G_GNUC_UNUSED gboolean *out_error, G_GNUC_UNUSED GError **error)
 {
 	if (children_nodes) {
 		/* we don't create or modify already created GdaTreeNode object => simply ref them */
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index 3a188fe..95c7044 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -370,7 +370,7 @@ get_rid_of_set (GdaSet *paramlist, GdauiBasicForm *form)
 }
 
 static void
-paramlist_holder_type_set_cb (GdaSet *paramlist, GdaHolder *param,
+paramlist_holder_type_set_cb (G_GNUC_UNUSED GdaSet *paramlist, GdaHolder *param,
 			      GdauiBasicForm *form)
 {
 	SingleEntry *sentry;
@@ -388,7 +388,7 @@ paramlist_holder_type_set_cb (GdaSet *paramlist, GdaHolder *param,
 
 
 static void
-paramlist_public_data_changed_cb (GdauiSet *paramlist, GdauiBasicForm *form)
+paramlist_public_data_changed_cb (G_GNUC_UNUSED GdauiSet *paramlist, GdauiBasicForm *form)
 {
 	/* here we want to re-define all the data entry widgets */
 	destroy_entries (form);
@@ -398,8 +398,9 @@ paramlist_public_data_changed_cb (GdauiSet *paramlist, GdauiBasicForm *form)
 }
 
 static void
-paramlist_param_attr_changed_cb (GdaSet *paramlist, GdaHolder *param,
-				 const gchar *att_name, const GValue *att_value, GdauiBasicForm *form)
+paramlist_param_attr_changed_cb (G_GNUC_UNUSED GdaSet *paramlist, GdaHolder *param,
+				 const gchar *att_name, G_GNUC_UNUSED const GValue *att_value,
+				 GdauiBasicForm *form)
 {
 	SingleEntry *sentry;
 
@@ -1340,7 +1341,7 @@ mark_not_null_entry_labels (GdauiBasicForm *form, gboolean show_mark)
 }
 
 static void
-entry_contents_activated (GdauiDataEntry *entry, GdauiBasicForm *form)
+entry_contents_activated (G_GNUC_UNUSED GdauiDataEntry *entry, GdauiBasicForm *form)
 {
 	g_signal_emit (G_OBJECT (form), gdaui_basic_form_signals[ACTIVATED], 0);
 }
@@ -1447,7 +1448,7 @@ entry_contents_modified (GdauiDataEntry *entry, SingleEntry *sentry)
 }
 
 static void
-entry_expand_changed_cb (GdauiDataEntry *entry, SingleEntry *sentry)
+entry_expand_changed_cb (G_GNUC_UNUSED GdauiDataEntry *entry, SingleEntry *sentry)
 {
 	pack_entry_widget (sentry);
 }
@@ -2058,7 +2059,8 @@ gdaui_basic_form_new_in_dialog (GdaSet *data_set, GtkWindow *parent,
 }
 
 static void
-form_holder_changed (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modif, GtkDialog *dlg)
+form_holder_changed (GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param,
+		     G_GNUC_UNUSED gboolean is_user_modif, GtkDialog *dlg)
 {
 	gboolean valid;
 
diff --git a/libgda-ui/gdaui-cloud.c b/libgda-ui/gdaui-cloud.c
index 0250bd8..dbbe4ed 100644
--- a/libgda-ui/gdaui-cloud.c
+++ b/libgda-ui/gdaui-cloud.c
@@ -441,7 +441,7 @@ gdaui_cloud_dispose (GObject *object)
 }
 
 static void
-model_reset_cb (GdaDataModel *model, GdauiCloud *cloud)
+model_reset_cb (G_GNUC_UNUSED GdaDataModel *model, GdauiCloud *cloud)
 {
 	update_display (cloud);
 }
@@ -723,7 +723,7 @@ set_cursor_if_appropriate (GtkTextView *text_view, gint x, gint y, GdauiCloud *c
  * (e.g. when a window covering it got iconified).
  */
 static gboolean
-visibility_notify_event (GtkWidget *text_view, GdkEventVisibility *event, GdauiCloud *cloud)
+visibility_notify_event (GtkWidget *text_view, G_GNUC_UNUSED GdkEventVisibility *event, GdauiCloud *cloud)
 {
 	gint wx, wy, bx, by;
 
@@ -769,7 +769,7 @@ motion_notify_event (GtkWidget *text_view, GdkEventMotion *event, GdauiCloud *cl
  * by the data attached to it.
  */
 static void
-follow_if_link (GtkWidget *text_view, GtkTextIter *iter, GdauiCloud *cloud)
+follow_if_link (G_GNUC_UNUSED GtkWidget *text_view, GtkTextIter *iter, GdauiCloud *cloud)
 {
 	GSList *tags = NULL, *tagp;
 	
@@ -1239,7 +1239,8 @@ cloud_selector_unselect_row (GdauiDataSelector *iface, gint row)
 }
 
 static void
-cloud_selector_set_column_visible (GdauiDataSelector *iface, gint column, gboolean visible)
+cloud_selector_set_column_visible (G_GNUC_UNUSED GdauiDataSelector *iface, G_GNUC_UNUSED gint column,
+				   G_GNUC_UNUSED gboolean visible)
 {
 	/* nothing to do */
 }
diff --git a/libgda-ui/gdaui-combo.c b/libgda-ui/gdaui-combo.c
index 13874b0..87cff15 100644
--- a/libgda-ui/gdaui-combo.c
+++ b/libgda-ui/gdaui-combo.c
@@ -149,7 +149,7 @@ gdaui_combo_selector_init (GdauiDataSelectorIface *iface)
 static void selection_changed_cb (GtkComboBox *widget, gpointer data);
 
 static void
-gdaui_combo_init (GdauiCombo *combo, GdauiComboClass *klass)
+gdaui_combo_init (GdauiCombo *combo, G_GNUC_UNUSED GdauiComboClass *klass)
 {
 	g_return_if_fail (GDAUI_IS_COMBO (combo));
 
@@ -185,7 +185,7 @@ sync_iter_with_selection (GdauiCombo *combo)
 }
 
 static void
-selection_changed_cb (GtkComboBox *widget, gpointer data)
+selection_changed_cb (GtkComboBox *widget, G_GNUC_UNUSED gpointer data)
 {
 	sync_iter_with_selection ((GdauiCombo *)widget);
 	g_signal_emit_by_name (widget, "selection-changed");
@@ -476,8 +476,8 @@ gdaui_combo_set_model (GdauiCombo *combo, GdaDataModel *model, gint n_cols, gint
 }
 
 static void
-cell_layout_data_func (GtkCellLayout *cell_layout, GtkCellRenderer *cell,
-		       GtkTreeModel *tree_model, GtkTreeIter *iter, GdauiCombo *combo)
+cell_layout_data_func (G_GNUC_UNUSED GtkCellLayout *cell_layout, GtkCellRenderer *cell,
+		       GtkTreeModel *tree_model, GtkTreeIter *iter, G_GNUC_UNUSED GdauiCombo *combo)
 {
 	GdaDataHandler *dh;
 	gint colnum;
diff --git a/libgda-ui/gdaui-data-entry.c b/libgda-ui/gdaui-data-entry.c
index 2dbf139..79b5e29 100644
--- a/libgda-ui/gdaui-data-entry.c
+++ b/libgda-ui/gdaui-data-entry.c
@@ -58,10 +58,10 @@ gdaui_data_entry_get_type (void)
 }
 
 static gboolean
-contents_valid_accumulator (GSignalInvocationHint *ihint,
+contents_valid_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 			    GValue *return_accu,
 			    const GValue *handler_return,
-			    gpointer data)
+			    G_GNUC_UNUSED gpointer data)
 {
         gboolean thisvalue;
 
@@ -72,7 +72,7 @@ contents_valid_accumulator (GSignalInvocationHint *ihint,
 }
 
 static gboolean
-m_class_contents_valid (GdauiDataEntry *de, GError **error)
+m_class_contents_valid (G_GNUC_UNUSED GdauiDataEntry *de, G_GNUC_UNUSED GError **error)
 {
 	return TRUE;
 }
diff --git a/libgda-ui/gdaui-data-filter.c b/libgda-ui/gdaui-data-filter.c
index 8d9b742..9367415 100644
--- a/libgda-ui/gdaui-data-filter.c
+++ b/libgda-ui/gdaui-data-filter.c
@@ -141,7 +141,7 @@ unset_wait_cursor (GtkWidget *w)
 }
 
 static void
-apply_filter_cb (GtkButton *button, GdauiDataFilter *filter)
+apply_filter_cb (G_GNUC_UNUSED GtkButton *button, GdauiDataFilter *filter)
 {
 	const gchar *expr;
 	gchar *err = NULL;
@@ -301,7 +301,7 @@ release_proxy (GdauiDataFilter *filter)
 }
 
 static void
-data_widget_proxy_changed_cb (GdauiDataProxy *data_widget, GdaDataProxy *proxy, GdauiDataFilter *filter)
+data_widget_proxy_changed_cb (GdauiDataProxy *data_widget, G_GNUC_UNUSED GdaDataProxy *proxy, GdauiDataFilter *filter)
 {
 	g_object_set (G_OBJECT (filter), "data-widget", data_widget, NULL);
 }
diff --git a/libgda-ui/gdaui-data-proxy-info.c b/libgda-ui/gdaui-data-proxy-info.c
index 070f69f..9406446 100644
--- a/libgda-ui/gdaui-data-proxy-info.c
+++ b/libgda-ui/gdaui-data-proxy-info.c
@@ -196,7 +196,7 @@ release_iter (GdauiDataProxyInfo *info)
 }
 
 static void
-data_proxy_proxy_changed_cb (GdauiDataProxy *data_proxy, GdaDataProxy *proxy, GdauiDataProxyInfo *info)
+data_proxy_proxy_changed_cb (GdauiDataProxy *data_proxy, G_GNUC_UNUSED GdaDataProxy *proxy, GdauiDataProxyInfo *info)
 {
 	g_object_set (G_OBJECT (info), "data-proxy", data_proxy, NULL);
 }
@@ -338,31 +338,32 @@ gdaui_data_proxy_info_get_property (GObject *object,
 
 
 static void
-proxy_changed_cb (GdaDataProxy *proxy, GdauiDataProxyInfo *info)
+proxy_changed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, G_GNUC_UNUSED GdauiDataProxyInfo *info)
 {
 	modif_buttons_update (info);
 }
 
 static void
-proxy_sample_changed_cb (GdaDataProxy *proxy, gint sample_start, gint sample_end, GdauiDataProxyInfo *info)
+proxy_sample_changed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, G_GNUC_UNUSED gint sample_start,
+			 G_GNUC_UNUSED gint sample_end, G_GNUC_UNUSED GdauiDataProxyInfo *info)
 {
 	modif_buttons_update (info);
 }
 
 static void
-proxy_row_changed_cb (GdaDataProxy *proxy, gint row, GdauiDataProxyInfo *info)
+proxy_row_changed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, G_GNUC_UNUSED gint row, GdauiDataProxyInfo *info)
 {
 	modif_buttons_update (info);
 }
 
 static void
-iter_row_changed_cb (GdaDataModelIter *iter, gint row, GdauiDataProxyInfo *info)
+iter_row_changed_cb (G_GNUC_UNUSED GdaDataModelIter *iter, G_GNUC_UNUSED gint row, GdauiDataProxyInfo *info)
 {
 	modif_buttons_update (info);
 }
 
 static void
-raw_grid_selection_changed_cb (GdauiRawGrid *grid, GdauiDataProxyInfo *info)
+raw_grid_selection_changed_cb (G_GNUC_UNUSED GdauiRawGrid *grid, GdauiDataProxyInfo *info)
 {
 	modif_buttons_update (info);
 }
diff --git a/libgda-ui/gdaui-data-proxy.c b/libgda-ui/gdaui-data-proxy.c
index 65879ae..82c4a68 100644
--- a/libgda-ui/gdaui-data-proxy.c
+++ b/libgda-ui/gdaui-data-proxy.c
@@ -62,7 +62,7 @@ gdaui_data_proxy_get_type (void)
 
 
 static void
-gdaui_data_proxy_iface_init (gpointer g_class)
+gdaui_data_proxy_iface_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/libgda-ui/gdaui-data-selector.c b/libgda-ui/gdaui-data-selector.c
index b5a3952..3156c03 100644
--- a/libgda-ui/gdaui-data-selector.c
+++ b/libgda-ui/gdaui-data-selector.c
@@ -62,7 +62,7 @@ gdaui_data_selector_get_type (void)
 
 
 static void
-gdaui_data_selector_iface_init (gpointer g_class)
+gdaui_data_selector_iface_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/libgda-ui/gdaui-data-store.c b/libgda-ui/gdaui-data-store.c
index 250bd09..b032b42 100644
--- a/libgda-ui/gdaui-data-store.c
+++ b/libgda-ui/gdaui-data-store.c
@@ -154,7 +154,7 @@ gdaui_data_store_init (GdauiDataStore *store)
 }
 
 static void
-row_inserted_cb (GdaDataProxy *proxy, gint row, GtkTreeModel *store)
+row_inserted_cb (G_GNUC_UNUSED GdaDataProxy *proxy, gint row, GtkTreeModel *store)
 {
 	GtkTreePath *path;
 	GtkTreeIter iter;
@@ -169,7 +169,7 @@ row_inserted_cb (GdaDataProxy *proxy, gint row, GtkTreeModel *store)
 }
 
 static void
-row_updated_cb (GdaDataProxy *proxy, gint row, GtkTreeModel *store)
+row_updated_cb (G_GNUC_UNUSED GdaDataProxy *proxy, gint row, GtkTreeModel *store)
 {
 	GtkTreePath *path;
 	GtkTreeIter iter;
@@ -183,7 +183,7 @@ row_updated_cb (GdaDataProxy *proxy, gint row, GtkTreeModel *store)
 }
 
 static void
-row_removed_cb (GdaDataProxy *proxy, gint row, GtkTreeModel *store)
+row_removed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, gint row, GtkTreeModel *store)
 {
 	GtkTreePath *path;
 
@@ -247,7 +247,7 @@ static void
 gdaui_data_store_set_property (GObject *object,
 			       guint param_id,
 			       const GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiDataStore *store;
 
@@ -297,7 +297,7 @@ static void
 gdaui_data_store_get_property (GObject *object,
 			       guint param_id,
 			       GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiDataStore *store;
 
@@ -817,7 +817,7 @@ data_store_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIt
 }
 
 static gboolean
-data_store_iter_has_child (GtkTreeModel *tree_model, GtkTreeIter *iter)
+data_store_iter_has_child (G_GNUC_UNUSED GtkTreeModel *tree_model, G_GNUC_UNUSED GtkTreeIter *iter)
 {
         return FALSE;
 }
@@ -859,7 +859,7 @@ data_store_iter_nth_child (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeI
 }
 
 static gboolean
-data_store_iter_parent (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child)
+data_store_iter_parent (G_GNUC_UNUSED GtkTreeModel *tree_model, G_GNUC_UNUSED GtkTreeIter *iter, G_GNUC_UNUSED GtkTreeIter *child)
 {
         return FALSE;
 }
diff --git a/libgda-ui/gdaui-form.c b/libgda-ui/gdaui-form.c
index 58cdb4f..3eacbb4 100644
--- a/libgda-ui/gdaui-form.c
+++ b/libgda-ui/gdaui-form.c
@@ -169,7 +169,7 @@ gdaui_form_class_init (GdauiFormClass *class)
 }
 
 static void
-form_layout_changed_cb (GdauiBasicForm *raw_form, GdauiForm *form)
+form_layout_changed_cb (G_GNUC_UNUSED GdauiBasicForm *raw_form, GdauiForm *form)
 {
 	gboolean expand;
 	g_object_get (G_OBJECT (form->priv->raw_form), "can-expand-v", &expand, NULL);
diff --git a/libgda-ui/gdaui-grid.c b/libgda-ui/gdaui-grid.c
index 72b035c..2b8452c 100644
--- a/libgda-ui/gdaui-grid.c
+++ b/libgda-ui/gdaui-grid.c
@@ -92,7 +92,8 @@ gdaui_grid_get_type (void)
 			NULL,
 			sizeof (GdauiGrid),
 			0,
-			(GInstanceInitFunc) gdaui_grid_init
+			(GInstanceInitFunc) gdaui_grid_init,
+			0
 		};
 
 		static const GInterfaceInfo proxy_info = {
diff --git a/libgda-ui/gdaui-init.c b/libgda-ui/gdaui-init.c
index 3437d1a..134ab96 100644
--- a/libgda-ui/gdaui-init.c
+++ b/libgda-ui/gdaui-init.c
@@ -526,19 +526,20 @@ init_plugins_hash (void)
 }
 
 static GdauiDataEntry *
-entry_none_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_none_create_func (G_GNUC_UNUSED GdaDataHandler *handler, GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_none_new (type);
 }
 
 static GdauiDataEntry *
-entry_boolean_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_boolean_create_func (GdaDataHandler *handler, G_GNUC_UNUSED GType type,
+			   G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_boolean_new (handler, G_TYPE_BOOLEAN);
 }
 
 static GdauiDataEntry *
-entry_bin_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_bin_create_func (GdaDataHandler *handler, GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_bin_new (handler, type);
 }
@@ -556,19 +557,20 @@ entry_number_create_func (GdaDataHandler *handler, GType type, const gchar *opti
 }
 
 static GdauiDataEntry *
-entry_time_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_time_create_func (GdaDataHandler *handler, G_GNUC_UNUSED GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_time_new (handler);
 }
 
 static GdauiDataEntry *
-entry_timestamp_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_timestamp_create_func (GdaDataHandler *handler, G_GNUC_UNUSED GType type,
+			     G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_timestamp_new (handler);
 }
 
 static GdauiDataEntry *
-entry_date_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+entry_date_create_func (GdaDataHandler *handler, G_GNUC_UNUSED GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return (GdauiDataEntry *) gdaui_entry_date_new (handler);
 }
@@ -580,13 +582,14 @@ cell_textual_create_func (GdaDataHandler *handler, GType type, const gchar *opti
 }
 
 static GtkCellRenderer *
-cell_boolean_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+cell_boolean_create_func (GdaDataHandler *handler, G_GNUC_UNUSED GType type,
+			  G_GNUC_UNUSED const gchar *options)
 {
 	return gdaui_data_cell_renderer_boolean_new (handler, G_TYPE_BOOLEAN);
 }
 
 static GtkCellRenderer *
-cell_bin_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+cell_bin_create_func (GdaDataHandler *handler, GType type, G_GNUC_UNUSED const gchar *options)
 {
 	return gdaui_data_cell_renderer_bin_new (handler, type);
 }
diff --git a/libgda-ui/gdaui-login.c b/libgda-ui/gdaui-login.c
index 32497b3..04a6aba 100644
--- a/libgda-ui/gdaui-login.c
+++ b/libgda-ui/gdaui-login.c
@@ -129,7 +129,7 @@ gdaui_login_class_init (GdauiLoginClass *klass)
 }
 
 static void
-config_dsn_changed_cb (GdaConfig *config, GdaDsnInfo *dsn, GdauiLogin *login)
+config_dsn_changed_cb (G_GNUC_UNUSED GdaConfig *config, GdaDsnInfo *dsn, GdauiLogin *login)
 {
 	if (!login->priv->prov_selector)
 		return;
@@ -142,7 +142,7 @@ config_dsn_changed_cb (GdaConfig *config, GdaDsnInfo *dsn, GdauiLogin *login)
 }
 
 static void
-gdaui_login_init (GdauiLogin *login, GdauiLoginClass *klass)
+gdaui_login_init (GdauiLogin *login, G_GNUC_UNUSED GdauiLoginClass *klass)
 {
 	GtkWidget *table;
 	GtkWidget *wid;
@@ -377,7 +377,7 @@ radio_button_use_dsn_toggled_cb (GtkToggleButton *button, GdauiLogin *login)
 }
 
 static void
-run_cc_cb (GtkButton *button, GdauiLogin *login)
+run_cc_cb (G_GNUC_UNUSED GtkButton *button, GdauiLogin *login)
 {
 	char *argv[2];
 	gboolean sresult;
@@ -480,7 +480,7 @@ prov_entry_changed_cb (GdauiProviderSelector *sel, GdauiLogin *login)
 }
 
 static void
-cnc_params_editor_changed_cb (GdauiProviderSpecEditor *editor, GdauiLogin *login)
+cnc_params_editor_changed_cb (G_GNUC_UNUSED GdauiProviderSpecEditor *editor, GdauiLogin *login)
 {
 	g_signal_emit (login, gdaui_login_signals [CHANGED], 0, settings_are_valid (login));
 }
@@ -496,7 +496,7 @@ cnc_params_editor_changed_cb (GdauiProviderSpecEditor *editor, GdauiLogin *login
  * Since: 4.2
 */
 GtkWidget *
-gdaui_login_new (const gchar *dsn)
+gdaui_login_new (G_GNUC_UNUSED const gchar *dsn)
 {
 	GtkWidget *login;
 
diff --git a/libgda-ui/gdaui-provider-selector.c b/libgda-ui/gdaui-provider-selector.c
index 3c89541..c9b82a4 100644
--- a/libgda-ui/gdaui-provider-selector.c
+++ b/libgda-ui/gdaui-provider-selector.c
@@ -78,7 +78,7 @@ gdaui_provider_selector_class_init (GdauiProviderSelectorClass *klass)
 
 static void
 gdaui_provider_selector_init (GdauiProviderSelector *selector,
-			      GdauiProviderSelectorClass *klass)
+			      G_GNUC_UNUSED GdauiProviderSelectorClass *klass)
 {
 	g_return_if_fail (GDAUI_IS_PROVIDER_SELECTOR (selector));
 
diff --git a/libgda-ui/gdaui-raw-form.c b/libgda-ui/gdaui-raw-form.c
index 97feb0e..de49fef 100644
--- a/libgda-ui/gdaui-raw-form.c
+++ b/libgda-ui/gdaui-raw-form.c
@@ -212,7 +212,7 @@ static GtkActionEntry ui_actions[] = {
 };
 
 static void
-action_new_activated_cb (GtkAction *action, GdauiRawForm *wid)
+action_new_activated_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *wid)
 {
 	/* make the first entry grab the focus */
 	if (wid->priv->iter && GDA_SET (wid->priv->iter)->holders)
@@ -222,7 +222,7 @@ action_new_activated_cb (GtkAction *action, GdauiRawForm *wid)
 }
 
 static void
-form_activated_cb (GdauiRawForm *form, gpointer data)
+form_activated_cb (GdauiRawForm *form, G_GNUC_UNUSED gpointer data)
 {
 	if (form->priv->write_mode == GDAUI_DATA_PROXY_WRITE_ON_VALUE_ACTIVATED) {
 		gint row;
@@ -246,7 +246,7 @@ form_activated_cb (GdauiRawForm *form, gpointer data)
 }
 
 static void
-form_holder_changed_cb (GdauiRawForm *form, gpointer data)
+form_holder_changed_cb (GdauiRawForm *form, G_GNUC_UNUSED gpointer data)
 {
 	if (form->priv->write_mode == GDAUI_DATA_PROXY_WRITE_ON_VALUE_CHANGE) {
 		gint row;
@@ -556,7 +556,7 @@ iter_row_changed_cb (GdaDataModelIter *iter, gint row, GdauiRawForm *form)
 }
 
 static void
-proxy_changed_cb (GdaDataProxy *proxy, GdauiRawForm *form)
+proxy_changed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, GdauiRawForm *form)
 {
 	/* TO remove ? */
 	gtk_widget_set_sensitive (GTK_WIDGET (form),
@@ -572,7 +572,7 @@ proxy_reset_cb (GdaDataProxy *proxy, GdauiRawForm *form)
 }
 
 static void
-proxy_row_inserted_or_removed_cb (GdaDataProxy *proxy, gint row, GdauiRawForm *form)
+proxy_row_inserted_or_removed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, gint row, GdauiRawForm *form)
 {
 	if (gda_data_model_get_n_rows (GDA_DATA_MODEL (form->priv->proxy)) != 0)
 		if (gda_data_model_iter_get_row (form->priv->iter) == -1)
@@ -585,7 +585,7 @@ proxy_row_inserted_or_removed_cb (GdaDataProxy *proxy, gint row, GdauiRawForm *f
  *
  */
 static void
-action_new_cb (GtkAction *action, GdauiRawForm *form)
+action_new_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	gint newrow;
 	GError *error = NULL;
@@ -635,7 +635,7 @@ action_new_cb (GtkAction *action, GdauiRawForm *form)
 }
 
 static void
-action_delete_cb (GtkAction *action, GdauiRawForm *form)
+action_delete_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	gint row;
 
@@ -660,7 +660,7 @@ action_delete_cb (GtkAction *action, GdauiRawForm *form)
 }
 
 static void
-action_undelete_cb (GtkAction *action, GdauiRawForm *form)
+action_undelete_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	gint row;
 
@@ -670,7 +670,7 @@ action_undelete_cb (GtkAction *action, GdauiRawForm *form)
 }
 
 static void
-action_commit_cb (GtkAction *action, GdauiRawForm *form)
+action_commit_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	gint row;
 	GError *error = NULL;
@@ -710,7 +710,7 @@ action_commit_cb (GtkAction *action, GdauiRawForm *form)
 }
 
 static void
-action_reset_cb (GtkAction *action, GdauiRawForm *form)
+action_reset_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	gda_data_proxy_cancel_all_changes (form->priv->proxy);
 	gda_data_model_send_hint (GDA_DATA_MODEL (form->priv->proxy), GDA_DATA_MODEL_HINT_REFRESH, NULL);
@@ -718,25 +718,25 @@ action_reset_cb (GtkAction *action, GdauiRawForm *form)
 
 static void arrow_actions_real_do (GdauiRawForm *form, gint movement);
 static void
-action_first_record_cb (GtkAction *action, GdauiRawForm *form)
+action_first_record_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	arrow_actions_real_do (form, -2);
 }
 
 static void
-action_prev_record_cb (GtkAction *action, GdauiRawForm *form)
+action_prev_record_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	arrow_actions_real_do (form, -1);
 }
 
 static void
-action_next_record_cb (GtkAction *action, GdauiRawForm *form)
+action_next_record_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	arrow_actions_real_do (form, 1);
 }
 
 static void
-action_last_record_cb (GtkAction *action, GdauiRawForm *form)
+action_last_record_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	arrow_actions_real_do (form, 2);
 }
@@ -749,14 +749,14 @@ hide_filter_window (GdauiRawForm *form)
 }
 
 static gboolean
-filter_event (GtkWidget *widget, GdkEventAny *event, GdauiRawForm *form)
+filter_event (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkEventAny *event, GdauiRawForm *form)
 {
 	hide_filter_window (form);
 	return TRUE;
 }
 
 static gboolean
-key_press_filter_event (GtkWidget *widget, GdkEventKey *event, GdauiRawForm *form)
+key_press_filter_event (G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, GdauiRawForm *form)
 {
 	if (event->keyval == GDK_Escape ||
 	    event->keyval == GDK_Tab ||
@@ -771,7 +771,7 @@ key_press_filter_event (GtkWidget *widget, GdkEventKey *event, GdauiRawForm *for
 static void
 filter_position_func (GtkWidget *widget,
 		      GtkWidget *search_dialog,
-		      gpointer   user_data)
+		      G_GNUC_UNUSED gpointer   user_data)
 {
 	gint x, y;
 	gint tree_x, tree_y;
@@ -837,7 +837,7 @@ popup_grab_on_window (GdkWindow  *window,
 }
 
 static void
-action_filter_cb (GtkAction *action, GdauiRawForm *form)
+action_filter_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawForm *form)
 {
 	GtkWidget *toplevel;
 	toplevel = gtk_widget_get_toplevel (GTK_WIDGET (form));
@@ -973,7 +973,7 @@ gdaui_raw_form_get_proxy (GdauiDataProxy *iface)
 }
 
 void
-gdaui_raw_form_set_column_editable (GdauiDataProxy *iface, gint column, gboolean editable)
+gdaui_raw_form_set_column_editable (GdauiDataProxy *iface, G_GNUC_UNUSED gint column, G_GNUC_UNUSED gboolean editable)
 {
 	GdauiRawForm *form;
 
@@ -992,7 +992,7 @@ gdaui_raw_form_set_column_editable (GdauiDataProxy *iface, gint column, gboolean
 }
 
 static void
-gdaui_raw_form_show_column_actions (GdauiDataProxy *iface, gint column, gboolean show_actions)
+gdaui_raw_form_show_column_actions (GdauiDataProxy *iface, G_GNUC_UNUSED gint column, gboolean show_actions)
 {
 	GdauiRawForm *form;
 
@@ -1107,7 +1107,7 @@ gdaui_raw_form_selector_select_row (GdauiDataSelector *iface, gint row)
 }
 
 static void
-gdaui_raw_form_selector_unselect_row (GdauiDataSelector *iface, gint row)
+gdaui_raw_form_selector_unselect_row (G_GNUC_UNUSED GdauiDataSelector *iface, G_GNUC_UNUSED gint row)
 {
 	g_warning ("%s() method not supported\n", __FUNCTION__);
 }
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index c59e0a7..2f25926 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -304,7 +304,7 @@ gdaui_raw_grid_query_tooltip (GtkWidget   *widget,
 			      gint         y,
 			      gboolean     keyboard_tip,
 			      GtkTooltip  *tooltip,
-			      gpointer     data)
+			      G_GNUC_UNUSED gpointer     data)
 {
 	GtkTreeView *tree_view = GTK_TREE_VIEW (widget);
 
@@ -935,9 +935,9 @@ reset_columns_in_xml_layout (GdauiRawGrid *grid, xmlNodePtr grid_node)
  * called by each cell renderer before actually displaying anything.
  */
 static void
-cell_value_set_attributes (GtkTreeViewColumn *tree_column,
+cell_value_set_attributes (G_GNUC_UNUSED GtkTreeViewColumn *tree_column,
 			   GtkCellRenderer *cell,
-			   GtkTreeModel *tree_model,
+			   G_GNUC_UNUSED GtkTreeModel *tree_model,
 			   GtkTreeIter *iter, GdauiRawGrid *grid)
 {
 	GdauiSetGroup *group;
@@ -1051,7 +1051,7 @@ cell_value_set_attributes (GtkTreeViewColumn *tree_column,
 static void
 cell_info_set_attributes (GtkTreeViewColumn *tree_column,
 			  GtkCellRenderer *cell,
-			  GtkTreeModel *tree_model,
+			  G_GNUC_UNUSED GtkTreeModel *tree_model,
 			  GtkTreeIter *iter, GdauiRawGrid *grid)
 {
 	GdauiSetGroup *group;
@@ -1145,7 +1145,7 @@ data_cell_value_changed (GtkCellRenderer *renderer, const gchar *path, const GVa
  */
 static void
 data_cell_values_changed (GtkCellRenderer *renderer, const gchar *path,
-			  GSList *new_values, GSList *all_new_values, GdauiRawGrid *grid)
+			  GSList *new_values, G_GNUC_UNUSED GSList *all_new_values, GdauiRawGrid *grid)
 {
 	GtkTreeIter iter;
 	GdauiSetGroup *group;
@@ -1317,7 +1317,7 @@ data_cell_status_changed (GtkCellRenderer *renderer, const gchar *path, GdaValue
 }
 
 static void
-action_new_cb (GtkAction *action, GdauiRawGrid *grid)
+action_new_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	GtkTreeIter iter;
 	GtkTreePath *path;
@@ -1330,7 +1330,7 @@ action_new_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_delete_cb (GtkAction *action, GdauiRawGrid *grid)
+action_delete_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	GtkTreeIter iter;
 	GtkTreeSelection *select;
@@ -1360,7 +1360,7 @@ action_delete_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_undelete_cb (GtkAction *action, GdauiRawGrid *grid)
+action_undelete_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	GtkTreeIter iter;
 	GtkTreeSelection *select;
@@ -1380,7 +1380,7 @@ action_undelete_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_commit_cb (GtkAction *action, GdauiRawGrid *grid)
+action_commit_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gint row;
 	GError *error = NULL;
@@ -1418,20 +1418,20 @@ action_commit_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_reset_cb (GtkAction *action, GdauiRawGrid *grid)
+action_reset_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gda_data_proxy_cancel_all_changes (grid->priv->proxy);
 	gda_data_model_send_hint (GDA_DATA_MODEL (grid->priv->proxy), GDA_DATA_MODEL_HINT_REFRESH, NULL);
 }
 
 static void
-action_first_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
+action_first_chunck_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gda_data_proxy_set_sample_start (grid->priv->proxy, 0);
 }
 
 static void
-action_prev_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
+action_prev_chunck_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gint sample_size, sample_start;
 
@@ -1444,7 +1444,7 @@ action_prev_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_next_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
+action_next_chunck_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gint sample_size, sample_start;
 
@@ -1457,7 +1457,7 @@ action_next_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
 }
 
 static void
-action_last_chunck_cb (GtkAction *action, GdauiRawGrid *grid)
+action_last_chunck_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	gda_data_proxy_set_sample_start (grid->priv->proxy, G_MAXINT);
 }
@@ -1470,14 +1470,14 @@ hide_filter_window (GdauiRawGrid *grid)
 }
 
 static gboolean
-filter_event (GtkWidget *widget, GdkEventAny *event, GdauiRawGrid *grid)
+filter_event (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkEventAny *event, GdauiRawGrid *grid)
 {
 	hide_filter_window (grid);
 	return TRUE;
 }
 
 static gboolean
-key_press_filter_event (GtkWidget *widget, GdkEventKey *event, GdauiRawGrid *grid)
+key_press_filter_event (G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, GdauiRawGrid *grid)
 {
 	if (event->keyval == GDK_Escape ||
 	    event->keyval == GDK_Tab ||
@@ -1492,7 +1492,7 @@ key_press_filter_event (GtkWidget *widget, GdkEventKey *event, GdauiRawGrid *gri
 static void
 filter_position_func (GtkWidget *widget,
 		      GtkWidget *search_dialog,
-		      gpointer   user_data)
+		      G_GNUC_UNUSED gpointer   user_data)
 {
 	gint x, y;
 	gint tree_x, tree_y;
@@ -1559,7 +1559,7 @@ popup_grab_on_window (GdkWindow  *window,
 }
 
 static void
-action_filter_cb (GtkAction *action, GdauiRawGrid *grid)
+action_filter_cb (G_GNUC_UNUSED GtkAction *action, GdauiRawGrid *grid)
 {
 	GtkWidget *toplevel;
 	toplevel = gtk_widget_get_toplevel (GTK_WIDGET (grid));
@@ -1733,7 +1733,7 @@ static GtkWidget *new_check_menu_item (const gchar *label,
 				       gpointer user_data);
 
 static gint
-tree_view_popup_button_pressed_cb (GtkWidget *widget, GdkEventButton *event, GdauiRawGrid *grid)
+tree_view_popup_button_pressed_cb (G_GNUC_UNUSED GtkWidget *widget, GdkEventButton *event, GdauiRawGrid *grid)
 {
 	GtkWidget *menu;
 	GtkTreeView *tree_view;
@@ -1822,7 +1822,7 @@ new_check_menu_item (const gchar *label,
 }
 
 static void
-menu_select_all_cb (GtkWidget *widget, GdauiRawGrid *grid)
+menu_select_all_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 {
 	GtkTreeSelection *selection;
 	selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (grid));
@@ -1831,7 +1831,7 @@ menu_select_all_cb (GtkWidget *widget, GdauiRawGrid *grid)
 }
 
 static void
-menu_unselect_all_cb (GtkWidget *widget, GdauiRawGrid *grid)
+menu_unselect_all_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 {
 	GtkTreeSelection *selection;
 	selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (grid));
@@ -1855,7 +1855,7 @@ static void export_type_changed_cb (GtkComboBox *types, GtkWidget *dialog);
 static void save_as_response_cb (GtkDialog *dialog, guint response_id, GdauiRawGrid *grid);
 
 static void
-menu_save_as_cb (GtkWidget *widget, GdauiRawGrid *grid)
+menu_save_as_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 {
 	GtkWidget *dialog;
 	GtkWidget *label;
@@ -2033,7 +2033,7 @@ export_type_changed_cb (GtkComboBox *types, GtkWidget *dialog)
 static gboolean confirm_file_overwrite (GtkWindow *parent, const gchar *path);
 
 static void
-save_as_response_cb (GtkDialog *dialog, guint response_id, GdauiRawGrid *grid)
+save_as_response_cb (GtkDialog *dialog, gint response_id, GdauiRawGrid *grid)
 {
 	GtkWidget *types;
 	gint export_type;
@@ -2233,20 +2233,21 @@ confirm_file_overwrite (GtkWindow *parent, const gchar *path)
 }
 
 static void
-menu_set_filter_cb (GtkWidget *widget, GdauiRawGrid *grid)
+menu_set_filter_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 {
 	action_filter_cb (NULL, grid);
 }
 
 static void
-menu_unset_filter_cb (GtkWidget *widget, GdauiRawGrid *grid)
+menu_unset_filter_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 {
 	gda_data_proxy_set_filter_expr (grid->priv->proxy, NULL, NULL);
 }
 
 
 static void
-tree_view_row_activated_cb (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GdauiRawGrid *grid)
+tree_view_row_activated_cb (G_GNUC_UNUSED GtkTreeView *tree_view, GtkTreePath *path,
+			    G_GNUC_UNUSED GtkTreeViewColumn *column, GdauiRawGrid *grid)
 {
 	gint *indices;
 
@@ -2588,7 +2589,7 @@ gdaui_raw_grid_get_actions_group (GdauiDataProxy *iface)
 }
 
 static void
-paramlist_public_data_changed_cb (GdauiSet *info, GdauiRawGrid *grid)
+paramlist_public_data_changed_cb (G_GNUC_UNUSED GdauiSet *info, GdauiRawGrid *grid)
 {
 	/* info cells */
 	destroy_column_data (grid);	
@@ -2597,7 +2598,7 @@ paramlist_public_data_changed_cb (GdauiSet *info, GdauiRawGrid *grid)
 }
 
 static void
-paramlist_param_attr_changed_cb (GdaSet *paramlist, GdaHolder *param,
+paramlist_param_attr_changed_cb (G_GNUC_UNUSED GdaSet *paramlist, GdaHolder *param,
 				 const gchar *att_name, const GValue *att_value, GdauiRawGrid *grid)
 {
 	if (!strcmp (att_name, GDAUI_ATTRIBUTE_PLUGIN)) {
@@ -2683,7 +2684,7 @@ iter_validate_set_cb (GdaDataModelIter *iter, GdauiRawGrid *grid)
 }
 
 static void
-iter_row_changed_cb (GdaDataModelIter *iter, gint row, GdauiRawGrid *grid)
+iter_row_changed_cb (G_GNUC_UNUSED GdaDataModelIter *iter, gint row, GdauiRawGrid *grid)
 {
 	GtkTreeSelection *selection;
 	GtkTreePath *path;
@@ -2712,7 +2713,8 @@ iter_row_changed_cb (GdaDataModelIter *iter, gint row, GdauiRawGrid *grid)
 }
 
 static void
-proxy_sample_changed_cb (GdaDataProxy *proxy, gint sample_start, gint sample_end, GdauiRawGrid *grid)
+proxy_sample_changed_cb (G_GNUC_UNUSED GdaDataProxy *proxy, G_GNUC_UNUSED gint sample_start,
+			 G_GNUC_UNUSED gint sample_end, GdauiRawGrid *grid)
 {
 	/* bring back the vertical scrollbar to the top */
 	gtk_adjustment_set_value (gtk_tree_view_get_vadjustment (GTK_TREE_VIEW (grid)), 0.);
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 2cbf625..3770966 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -1152,7 +1152,8 @@ static void create_table_grid_fields_iter_row_changed_cb (GdaDataModelIter *grid
 static void create_table_proxy_row_inserted_cb (GdaDataProxy *proxy, gint row, GdauiServerOperation *form);
 static GtkWidget *
 create_table_fields_array_create_widget (GdauiServerOperation *form, const gchar *path,
-					 gchar **section_str, GSList **label_widgets)
+					 G_GNUC_UNUSED gchar **section_str,
+					 G_GNUC_UNUSED GSList **label_widgets)
 {
 	GdaServerOperationNode *info_node;
 	GtkWidget *hlayout, *sw, *box, *label;
diff --git a/libgda-ui/gdaui-set.c b/libgda-ui/gdaui-set.c
index 2a353c8..b080b31 100644
--- a/libgda-ui/gdaui-set.c
+++ b/libgda-ui/gdaui-set.c
@@ -226,7 +226,7 @@ gdaui_set_set_property (GObject *object,
 }
 
 static void
-wrapped_set_public_data_changed_cb (GdaSet *wset, GdauiSet *set)
+wrapped_set_public_data_changed_cb (G_GNUC_UNUSED GdaSet *wset, GdauiSet *set)
 {
 	clean_public_data (set);
 	compute_public_data (set);
@@ -234,7 +234,7 @@ wrapped_set_public_data_changed_cb (GdaSet *wset, GdauiSet *set)
 }
 
 static void
-wrapped_set_source_model_changed_cb (GdaSet *wset, GdaSetSource *source, GdauiSet *set)
+wrapped_set_source_model_changed_cb (G_GNUC_UNUSED GdaSet *wset, GdaSetSource *source, GdauiSet *set)
 {
 	GdauiSetSource *uisource;
 	GSList *list;
diff --git a/libgda-ui/gdaui-tree-store.c b/libgda-ui/gdaui-tree-store.c
index 0d44d3c..dbac103 100644
--- a/libgda-ui/gdaui-tree-store.c
+++ b/libgda-ui/gdaui-tree-store.c
@@ -329,7 +329,7 @@ static void
 gdaui_tree_store_set_property (GObject *object,
 			       guint param_id,
 			       const GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiTreeStore *store;
 
@@ -364,7 +364,7 @@ static void
 gdaui_tree_store_get_property (GObject *object,
 				  guint param_id,
 				  GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiTreeStore *store;
 
@@ -861,7 +861,7 @@ tree_node_has_child_toggled_cb (GdaTree *tree, GdaTreeNode *node, GdauiTreeStore
 }
 
 static void
-tree_node_deleted_cb (GdaTree *tree, const gchar *node_path, GdauiTreeStore *store)
+tree_node_deleted_cb (G_GNUC_UNUSED GdaTree *tree, const gchar *node_path, GdauiTreeStore *store)
 {
 	GtkTreePath *path;
 
diff --git a/libgda-ui/internal/gdaui-dsn-selector.c b/libgda-ui/internal/gdaui-dsn-selector.c
index 302dbce..f5905e6 100644
--- a/libgda-ui/internal/gdaui-dsn-selector.c
+++ b/libgda-ui/internal/gdaui-dsn-selector.c
@@ -77,7 +77,7 @@ gdaui_dsn_selector_class_init (GdauiDsnSelectorClass *klass)
 
 static void
 gdaui_dsn_selector_init (GdauiDsnSelector *selector,
-				    GdauiDsnSelectorClass *klass)
+				    G_GNUC_UNUSED GdauiDsnSelectorClass *klass)
 {
 	GdaDataModel *model;
 	gint cols_index[] = {0};
@@ -109,7 +109,7 @@ static void
 gdaui_dsn_selector_set_property (GObject *object,
 				 guint param_id,
 				 const GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiDsnSelector *selector;
 	GSList *list;
@@ -129,7 +129,7 @@ static void
 gdaui_dsn_selector_get_property (GObject *object,
 				 guint param_id,
 				 GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiDsnSelector *selector;
 	GSList *list;
diff --git a/libgda-ui/internal/gdaui-provider-auth-editor.c b/libgda-ui/internal/gdaui-provider-auth-editor.c
index 3dd414b..c805b48 100644
--- a/libgda-ui/internal/gdaui-provider-auth-editor.c
+++ b/libgda-ui/internal/gdaui-provider-auth-editor.c
@@ -97,7 +97,7 @@ gdaui_provider_auth_editor_class_init (GdauiProviderAuthEditorClass *klass)
 }
 
 static void
-auth_form_changed (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modif,
+auth_form_changed (G_GNUC_UNUSED GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param, gboolean is_user_modif,
 		   GdauiProviderAuthEditor *auth)
 {
 	if (! is_user_modif)
@@ -107,7 +107,8 @@ auth_form_changed (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modi
 }
 
 static void
-gdaui_provider_auth_editor_init (GdauiProviderAuthEditor *auth, GdauiProviderAuthEditorClass *klass)
+gdaui_provider_auth_editor_init (GdauiProviderAuthEditor *auth,
+				 G_GNUC_UNUSED GdauiProviderAuthEditorClass *klass)
 {
 	g_return_if_fail (GDAUI_IS_PROVIDER_AUTH_EDITOR (auth));
 
@@ -146,7 +147,7 @@ static void
 gdaui_provider_auth_editor_set_property (GObject *object,
                                             guint param_id,
                                             const GValue *value,
-                                            GParamSpec *pauth)
+                                            G_GNUC_UNUSED GParamSpec *pauth)
 {
 	GdauiProviderAuthEditor *auth;
 	auth = GDAUI_PROVIDER_AUTH_EDITOR (object);
@@ -162,7 +163,7 @@ static void
 gdaui_provider_auth_editor_get_property (GObject *object,
                                             guint param_id,
                                             GValue *value,
-                                            GParamSpec *pauth)
+                                            G_GNUC_UNUSED GParamSpec *pauth)
 {
 	GdauiProviderAuthEditor *auth;
 	auth = GDAUI_PROVIDER_AUTH_EDITOR (object);
diff --git a/libgda-ui/internal/gdaui-provider-spec-editor.c b/libgda-ui/internal/gdaui-provider-spec-editor.c
index 3960c13..8792451 100644
--- a/libgda-ui/internal/gdaui-provider-spec-editor.c
+++ b/libgda-ui/internal/gdaui-provider-spec-editor.c
@@ -168,7 +168,7 @@ update_form_contents (GdauiProviderSpecEditor *spec)
 }
 
 static void
-dsn_form_changed (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modif, GdauiProviderSpecEditor *spec)
+dsn_form_changed (G_GNUC_UNUSED GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param, gboolean is_user_modif, GdauiProviderSpecEditor *spec)
 {
 	if (! is_user_modif)
 		return;
@@ -230,7 +230,8 @@ adapt_form_widget (GdauiProviderSpecEditor *spec)
 
 
 static void
-gdaui_provider_spec_editor_init (GdauiProviderSpecEditor *spec, GdauiProviderSpecEditorClass *klass)
+gdaui_provider_spec_editor_init (GdauiProviderSpecEditor *spec,
+				 G_GNUC_UNUSED GdauiProviderSpecEditorClass *klass)
 {
 	g_return_if_fail (GDAUI_IS_PROVIDER_SPEC_EDITOR (spec));
 
@@ -283,7 +284,7 @@ static void
 gdaui_provider_spec_editor_set_property (GObject *object,
                                             guint param_id,
                                             const GValue *value,
-                                            GParamSpec *pspec)
+                                            G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiProviderSpecEditor *spec;
 	spec = GDAUI_PROVIDER_SPEC_EDITOR (object);
@@ -300,7 +301,7 @@ static void
 gdaui_provider_spec_editor_get_property (GObject *object,
                                             guint param_id,
                                             GValue *value,
-                                            GParamSpec *pspec)
+                                            G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdauiProviderSpecEditor *spec;
 	spec = GDAUI_PROVIDER_SPEC_EDITOR (object);
diff --git a/libgda-ui/internal/popup-container.c b/libgda-ui/internal/popup-container.c
index 936861e..c88ef84 100644
--- a/libgda-ui/internal/popup-container.c
+++ b/libgda-ui/internal/popup-container.c
@@ -56,7 +56,7 @@ popup_container_class_init (PopupContainerClass *klass)
 }
 
 static gboolean
-delete_popup (GtkWidget *widget, PopupContainer *container)
+delete_popup (G_GNUC_UNUSED GtkWidget *widget, PopupContainer *container)
 {
         gtk_widget_hide (GTK_WIDGET (container));
         gtk_grab_remove (GTK_WIDGET (container));
@@ -102,7 +102,7 @@ button_press_popup (GtkWidget *widget, GdkEventButton *event, PopupContainer *co
 }
 
 static void
-popup_container_init (PopupContainer *container, PopupContainerClass *klass)
+popup_container_init (PopupContainer *container, G_GNUC_UNUSED PopupContainerClass *klass)
 {
 	container->priv = g_new0 (PopupContainerPrivate, 1);
 	container->priv->position_func = NULL;
@@ -140,7 +140,7 @@ popup_container_dispose (GObject *object)
 }
 
 static void
-default_position_func (PopupContainer *container, gint *out_x, gint *out_y)
+default_position_func (G_GNUC_UNUSED PopupContainer *container, gint *out_x, gint *out_y)
 {
 	gdk_display_get_pointer (gdk_display_get_default (), NULL,
 				 out_x, out_y, NULL);
diff --git a/libgda-ui/internal/utility.c b/libgda-ui/internal/utility.c
index 4471337..1f50c83 100644
--- a/libgda-ui/internal/utility.c
+++ b/libgda-ui/internal/utility.c
@@ -604,7 +604,7 @@ _gdaui_setup_right_click_selection_on_treeview (GtkTreeView *tview)
 }
 
 static gboolean
-tree_view_button_pressed_cb (GtkWidget *widget, GdkEventButton *event, gpointer unuseddata)
+tree_view_button_pressed_cb (GtkWidget *widget, GdkEventButton *event, G_GNUC_UNUSED gpointer data)
 {
 	GtkTreeView *tree_view;
 	GtkTreeSelection *selection;
diff --git a/libgda-xslt/sql_backend.c b/libgda-xslt/sql_backend.c
index 08ff6c7..a77a485 100644
--- a/libgda-xslt/sql_backend.c
+++ b/libgda-xslt/sql_backend.c
@@ -104,7 +104,7 @@ gda_xslt_holder_set_value (GdaHolder *param, xsltTransformContextPtr ctxt)
 int
 gda_xslt_bk_section (GdaXsltExCont * exec, GdaXsltIntCont * pdata,
 		     xsltTransformContextPtr ctxt, xmlNodePtr node,
-		     xmlNodePtr inst, xsltStylePreCompPtr comp)
+		     xmlNodePtr inst, G_GNUC_UNUSED xsltStylePreCompPtr comp)
 {
 	xmlNode *cur_node = NULL;
 	xmlNode *query_node = NULL;
@@ -252,8 +252,8 @@ gda_xslt_bk_fun_getvalue (xmlChar * set, xmlChar * name, GdaXsltExCont * exec,
 }
 
 xmlXPathObjectPtr
-gda_xslt_bk_fun_checkif (xmlChar * setname, xmlChar * sql_condition,
-			 GdaXsltExCont * exec, GdaXsltIntCont * pdata)
+gda_xslt_bk_fun_checkif (G_GNUC_UNUSED xmlChar * setname, G_GNUC_UNUSED xmlChar * sql_condition,
+			 G_GNUC_UNUSED GdaXsltExCont * exec, G_GNUC_UNUSED GdaXsltIntCont * pdata)
 {
 	return xmlXPathNewBoolean (1);
 }
@@ -263,7 +263,7 @@ gda_xslt_bk_fun_checkif (xmlChar * setname, xmlChar * sql_condition,
 /* utility functions */
 static void
 set_resultset_value (GdaXsltIntCont * pdata, const char *resultset_name,
-		     GObject * result, GError ** error)
+		     GObject * result, G_GNUC_UNUSED GError ** error)
 {
 #ifdef GDA_DEBUG_NO
 	g_print ("new resultset: name[%s]", resultset_name);
diff --git a/libgda-xslt/sql_exslt_internal.c b/libgda-xslt/sql_exslt_internal.c
index 9cc796e..161ecc6 100644
--- a/libgda-xslt/sql_exslt_internal.c
+++ b/libgda-xslt/sql_exslt_internal.c
@@ -107,8 +107,8 @@ gda_xslt_extension_init (xsltTransformContextPtr ctxt, const xmlChar * URI)
 }
 
 void
-gda_xslt_extension_shutdown (xsltTransformContextPtr ctxt,
-			     const xmlChar * URI, void *data)
+gda_xslt_extension_shutdown (G_GNUC_UNUSED xsltTransformContextPtr ctxt,
+			     G_GNUC_UNUSED const xmlChar * URI, void *data)
 {
 	GdaXsltIntCont *p_data = (GdaXsltIntCont *) data;
 	if (p_data) {
diff --git a/libgda-xslt/sqlexslt.c b/libgda-xslt/sqlexslt.c
index 0c6cca8..044b71e 100644
--- a/libgda-xslt/sqlexslt.c
+++ b/libgda-xslt/sqlexslt.c
@@ -82,7 +82,7 @@ gda_xslt_set_execution_context (xsltTransformContextPtr tcxt,
  * Returns:
  */
 GdaXsltExCont *
-gda_xslt_create_context_simple (GdaConnection *cnc, GError **error)
+gda_xslt_create_context_simple (GdaConnection *cnc, G_GNUC_UNUSED GError **error)
 {
 	GdaXsltExCont *local = NULL;
 
diff --git a/libgda/binreloc/binreloc.c b/libgda/binreloc/binreloc.c
index a27e5c2..a4eac8c 100644
--- a/libgda/binreloc/binreloc.c
+++ b/libgda/binreloc/binreloc.c
@@ -172,7 +172,12 @@ _br_find_exe (GbrInitError *error)
  * Returns a filename which must be freed, or NULL on error.
  */
 static char *
-_br_find_exe_for_symbol (const void *symbol, GbrInitError *error)
+_br_find_exe_for_symbol (
+#ifndef ENABLE_BINRELOC
+			 G_GNUC_UNUSED const void *symbol, GbrInitError *error)
+#else
+			 const void *symbol, GbrInitError *error)
+#endif
 {
 #ifndef ENABLE_BINRELOC
 	if (error)
diff --git a/libgda/dir-blob-op.c b/libgda/dir-blob-op.c
index f7815d3..21f6c3b 100644
--- a/libgda/dir-blob-op.c
+++ b/libgda/dir-blob-op.c
@@ -75,7 +75,7 @@ gda_dir_blob_op_get_type (void)
 
 static void
 gda_dir_blob_op_init (GdaDirBlobOp *op,
-			   GdaDirBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaDirBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_DIR_BLOB_OP (op));
 
diff --git a/libgda/gda-batch.c b/libgda/gda-batch.c
index 35affc1..5f9987c 100644
--- a/libgda/gda-batch.c
+++ b/libgda/gda-batch.c
@@ -132,7 +132,7 @@ gda_batch_class_init (GdaBatchClass * klass)
 }
 
 static void
-m_changed_cb (GdaBatch *batch, GdaStatement *changed_stmt)
+m_changed_cb (G_GNUC_UNUSED GdaBatch *batch, G_GNUC_UNUSED GdaStatement *changed_stmt)
 {
 	
 }
@@ -236,7 +236,7 @@ gda_batch_finalize (GObject *object)
 static void 
 gda_batch_set_property (GObject *object,
 			     guint param_id,
-			     const GValue *value,
+			     G_GNUC_UNUSED const GValue *value,
 			     GParamSpec *pspec)
 {
 	GdaBatch *batch;
@@ -254,7 +254,7 @@ gda_batch_set_property (GObject *object,
 static void
 gda_batch_get_property (GObject *object,
 			     guint param_id,
-			     GValue *value,
+			     G_GNUC_UNUSED GValue *value,
 			     GParamSpec *pspec)
 {
 	GdaBatch *batch;
diff --git a/libgda/gda-blob-op.c b/libgda/gda-blob-op.c
index 7cc1bd7..29e39f2 100644
--- a/libgda/gda-blob-op.c
+++ b/libgda/gda-blob-op.c
@@ -76,7 +76,7 @@ gda_blob_op_class_init (GdaBlobOpClass *klass)
 }
 
 static void
-gda_blob_op_init (GdaBlobOp *provider, GdaBlobOpClass *klass)
+gda_blob_op_init (G_GNUC_UNUSED GdaBlobOp *provider, G_GNUC_UNUSED GdaBlobOpClass *klass)
 {
 
 }
diff --git a/libgda/gda-column.c b/libgda/gda-column.c
index 85ce4d8..e99097d 100644
--- a/libgda/gda-column.c
+++ b/libgda/gda-column.c
@@ -138,7 +138,7 @@ gda_column_class_init (GdaColumnClass *klass)
 }
 
 static void
-gda_column_init (GdaColumn *column, GdaColumnClass *klass)
+gda_column_init (GdaColumn *column, G_GNUC_UNUSED GdaColumnClass *klass)
 {
 	g_return_if_fail (GDA_IS_COLUMN (column));
 	
@@ -206,7 +206,7 @@ static void
 gda_column_set_property (GObject *object,
                                    guint param_id,
                                    const GValue *value,
-                                   GParamSpec *pspec)
+                                   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaColumn *col;
 
@@ -230,7 +230,7 @@ static void
 gda_column_get_property (GObject *object,
 			 guint param_id,
 			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaColumn *col;
 
diff --git a/libgda/gda-config.c b/libgda/gda-config.c
index 362575c..2ea9df8 100644
--- a/libgda/gda-config.c
+++ b/libgda/gda-config.c
@@ -228,7 +228,7 @@ gda_config_class_init (GdaConfigClass *klass)
 }
 
 static void
-gda_config_init (GdaConfig *conf, GdaConfigClass *klass)
+gda_config_init (GdaConfig *conf, G_GNUC_UNUSED GdaConfigClass *klass)
 {
 	g_return_if_fail (GDA_IS_CONFIG (conf));
 
@@ -730,7 +730,7 @@ static void
 gda_config_set_property (GObject *object,
 			 guint param_id,
 			 const GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaConfig *conf;
 
@@ -757,7 +757,7 @@ static void
 gda_config_get_property (GObject *object,
 			 guint param_id,
 			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaConfig *conf;
 	
@@ -1719,8 +1719,8 @@ str_equal (const gchar *str1, const gchar *str2)
 }
 
 static void
-conf_file_changed (GFileMonitor *mon, GFile *file, GFile *other_file,
-		   GFileMonitorEvent event_type, gpointer data)
+conf_file_changed (G_GNUC_UNUSED GFileMonitor *mon, G_GNUC_UNUSED GFile *file,
+		   G_GNUC_UNUSED GFile *other_file, GFileMonitorEvent event_type, G_GNUC_UNUSED gpointer data)
 {
 	GSList *list, *current_dsn_list, *new_dsn_list;
 	g_assert (unique_instance);
diff --git a/libgda/gda-connection-event.c b/libgda/gda-connection-event.c
index dfd60ff..c01d2d5 100644
--- a/libgda/gda-connection-event.c
+++ b/libgda/gda-connection-event.c
@@ -102,7 +102,7 @@ gda_connection_event_class_init (GdaConnectionEventClass *klass)
 }
 
 static void
-gda_connection_event_init (GdaConnectionEvent *event, GdaConnectionEventClass *klass)
+gda_connection_event_init (GdaConnectionEvent *event, G_GNUC_UNUSED GdaConnectionEventClass *klass)
 {
 	event->priv = g_new0 (GdaConnectionEventPrivate, 1);
 	event->priv->type = GDA_CONNECTION_EVENT_ERROR;
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index 34cccee..bfd5999 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -409,7 +409,7 @@ gda_connection_lockable_init (GdaLockableIface *iface)
 }
 
 static void
-gda_connection_init (GdaConnection *cnc, GdaConnectionClass *klass)
+gda_connection_init (GdaConnection *cnc, G_GNUC_UNUSED GdaConnectionClass *klass)
 {
 	g_return_if_fail (GDA_IS_CONNECTION (cnc));
 
@@ -789,7 +789,7 @@ static void
 gda_connection_get_property (GObject *object,
 			     guint param_id,
 			     GValue *value,
-			     GParamSpec *pspec)
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaConnection *cnc;
 
@@ -863,7 +863,7 @@ cnc_task_new (guint id, GdaStatement *stmt, GdaStatementModelUsage model_usage,
 }
 
 static void
-task_stmt_reset_cb (GdaStatement *stmt, CncTask *task)
+task_stmt_reset_cb (G_GNUC_UNUSED GdaStatement *stmt, CncTask *task)
 {
 	g_mutex_lock (task->mutex);
 	g_signal_handlers_disconnect_by_func (task->stmt,
@@ -1251,7 +1251,7 @@ _gda_open_internal_sqlite_connection (const gchar *cnc_string)
 }
 
 static void
-sqlite_connection_closed_cb (GdaConnection *cnc, gpointer data)
+sqlite_connection_closed_cb (GdaConnection *cnc, G_GNUC_UNUSED gpointer data)
 {
 	gchar *filename;
 	filename = g_object_get_data (G_OBJECT (cnc), "__gda_fname");
@@ -2182,7 +2182,7 @@ gda_connection_statement_prepare (GdaConnection *cnc, GdaStatement *stmt, GError
 }
 
 static GType *
-make_col_types_array (gint init_size, va_list args)
+make_col_types_array (va_list args)
 {
 	GType *types;
 	gint max = 10;
@@ -2242,8 +2242,8 @@ get_task_index (GdaConnection *cnc, guint task_id, gboolean *out_completed, gboo
  * This callback is called from the GdaServerProvider object
  */
 static void
-async_stmt_exec_cb (GdaServerProvider *provider, GdaConnection *cnc, guint task_id,
-		    GObject *result_obj, const GError *error, CncTask *task)
+async_stmt_exec_cb (G_GNUC_UNUSED GdaServerProvider *provider, GdaConnection *cnc, guint task_id,
+		    GObject *result_obj, const GError *error, G_GNUC_UNUSED CncTask *task)
 {
 	gint i;
 	gboolean is_completed;
@@ -2581,7 +2581,7 @@ gda_connection_statement_execute_v (GdaConnection *cnc, GdaStatement *stmt, GdaS
 	GObject *obj;
 	GType *types;
 	va_start (ap, error);
-	types = make_col_types_array (10, ap);
+	types = make_col_types_array (ap);
 	va_end (ap);
 
 	g_object_ref ((GObject*) cnc);
@@ -2855,7 +2855,7 @@ gda_connection_statement_execute_select_fullv (GdaConnection *cnc, GdaStatement
 	GType *types;
 	
 	va_start (ap, error);
-	types = make_col_types_array (10, ap);
+	types = make_col_types_array (ap);
 	va_end (ap);
 
 	g_object_ref ((GObject*) cnc);
@@ -4094,7 +4094,7 @@ typedef struct {
 } DownstreamCallbackData;
 
 static GError *
-suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, DownstreamCallbackData *data)
+suggest_update_cb_downstream (G_GNUC_UNUSED GdaMetaStore *store, GdaMetaContext *suggest, DownstreamCallbackData *data)
 {
 #define MAX_CONTEXT_SIZE 10
 	if (data->error)
@@ -5135,7 +5135,8 @@ gda_connection_internal_savepoint_removed (GdaConnection *cnc, const gchar *svp_
  * to keep track of the transaction status of the connection
  */
 void 
-gda_connection_internal_statement_executed (GdaConnection *cnc, GdaStatement *stmt, GdaSet *params, GdaConnectionEvent *error)
+gda_connection_internal_statement_executed (GdaConnection *cnc, GdaStatement *stmt,
+					    G_GNUC_UNUSED GdaSet *params, GdaConnectionEvent *error)
 {
 	if (!error || (error && (gda_connection_event_get_event_type (error) != GDA_CONNECTION_EVENT_ERROR))) {
 		const GdaSqlStatement *sqlst;
@@ -5280,7 +5281,7 @@ prepared_stmts_stmt_reset_cb (GdaStatement *gda_stmt, GdaConnection *cnc)
 }
 
 static void
-prepared_stms_foreach_func (GdaStatement *gda_stmt, GdaPStmt *prepared_stmt, GdaConnection *cnc)
+prepared_stms_foreach_func (GdaStatement *gda_stmt, G_GNUC_UNUSED GdaPStmt *prepared_stmt, GdaConnection *cnc)
 {
 	g_signal_handlers_disconnect_by_func (gda_stmt, G_CALLBACK (prepared_stmts_stmt_reset_cb), cnc);
 	g_object_weak_unref (G_OBJECT (gda_stmt), (GWeakNotify) statement_weak_notify_cb, cnc);
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index 2b5b8d1..0a28807 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -178,7 +178,7 @@ gda_data_access_wrapper_data_model_init (GdaDataModelIface *iface)
 }
 
 static void
-gda_data_access_wrapper_init (GdaDataAccessWrapper *model, GdaDataAccessWrapperClass *klass)
+gda_data_access_wrapper_init (GdaDataAccessWrapper *model, G_GNUC_UNUSED GdaDataAccessWrapperClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_ACCESS_WRAPPER (model));
 	model->priv = g_new0 (GdaDataAccessWrapperPrivate, 1);
@@ -191,19 +191,19 @@ gda_data_access_wrapper_init (GdaDataAccessWrapper *model, GdaDataAccessWrapperC
 }
 
 static void
-model_row_inserted_cb (GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
+model_row_inserted_cb (G_GNUC_UNUSED GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
 {
 	gda_data_model_row_inserted ((GdaDataModel*) model, row);
 }
 
 static void
-model_row_updated_cb (GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
+model_row_updated_cb (G_GNUC_UNUSED GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
 {
 	gda_data_model_row_updated ((GdaDataModel*) model, row);
 }
 
 static void
-model_row_removed_cb (GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
+model_row_removed_cb (G_GNUC_UNUSED GdaDataModel *mod, gint row, GdaDataAccessWrapper *model)
 {
 	gda_data_model_row_removed ((GdaDataModel*) model, row);
 }
@@ -281,7 +281,7 @@ static void
 gda_data_access_wrapper_set_property (GObject *object,
 				      guint param_id,
 				      const GValue *value,
-				      GParamSpec *pspec)
+				      G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataAccessWrapper *model;
 
@@ -333,7 +333,7 @@ static void
 gda_data_access_wrapper_get_property (GObject *object,
 					guint param_id,
 					GValue *value,
-					GParamSpec *pspec)
+					G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataAccessWrapper *model;
 
@@ -618,7 +618,7 @@ iter_row_changed_cb (GdaDataModelIter *iter, gint row, GdaDataAccessWrapper *mod
 }
 
 static void
-iter_end_of_data_cb (GdaDataModelIter *iter, GdaDataAccessWrapper *model)
+iter_end_of_data_cb (G_GNUC_UNUSED GdaDataModelIter *iter, GdaDataAccessWrapper *model)
 {
 	g_assert (GDA_IS_DATA_ACCESS_WRAPPER (model));
 	model->priv->end_of_data = TRUE;
diff --git a/libgda/gda-data-comparator.c b/libgda/gda-data-comparator.c
index f354806..22e66c8 100644
--- a/libgda/gda-data-comparator.c
+++ b/libgda/gda-data-comparator.c
@@ -110,10 +110,10 @@ gda_data_comparator_get_type (void)
 }
 
 static gboolean
-diff_computed_accumulator (GSignalInvocationHint *ihint,
+diff_computed_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 			   GValue *return_accu,
 			   const GValue *handler_return,
-			   gpointer data)
+			   G_GNUC_UNUSED gpointer data)
 {
         gboolean thisvalue;
 
@@ -124,7 +124,7 @@ diff_computed_accumulator (GSignalInvocationHint *ihint,
 }
 
 static gboolean
-m_diff_computed (GdaDataComparator *comparator, GdaDiff *diff)
+m_diff_computed (G_GNUC_UNUSED GdaDataComparator *comparator, G_GNUC_UNUSED GdaDiff *diff)
 {
         return FALSE; /* default is to allow differences computing to proceed (understand it as: FALSE => don't stop) */
 }
@@ -260,7 +260,7 @@ static void
 gda_data_comparator_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataComparator *comparator;
 	comparator = GDA_DATA_COMPARATOR (object);
@@ -302,7 +302,7 @@ static void
 gda_data_comparator_get_property (GObject *object,
 				  guint param_id,
 				  GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataComparator *comparator;
 
diff --git a/libgda/gda-data-handler.c b/libgda/gda-data-handler.c
index 0253bd6..37212b6 100644
--- a/libgda/gda-data-handler.c
+++ b/libgda/gda-data-handler.c
@@ -53,7 +53,7 @@ gda_data_handler_get_type (void)
 
 
 static void
-gda_data_handler_iface_init (gpointer g_class)
+gda_data_handler_iface_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/libgda/gda-data-meta-wrapper.c b/libgda/gda-data-meta-wrapper.c
index dc5dd52..4fe5e06 100644
--- a/libgda/gda-data-meta-wrapper.c
+++ b/libgda/gda-data-meta-wrapper.c
@@ -204,7 +204,7 @@ gda_data_meta_wrapper_data_model_init (GdaDataModelIface *iface)
 }
 
 static void
-gda_data_meta_wrapper_init (GdaDataMetaWrapper *model, GdaDataMetaWrapperClass *klass)
+gda_data_meta_wrapper_init (GdaDataMetaWrapper *model, G_GNUC_UNUSED GdaDataMetaWrapperClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_META_WRAPPER (model));
 	model->priv = g_new0 (GdaDataMetaWrapperPrivate, 1);
@@ -274,7 +274,7 @@ static void
 gda_data_meta_wrapper_set_property (GObject *object,
 				      guint param_id,
 				      const GValue *value,
-				      GParamSpec *pspec)
+				      G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataMetaWrapper *model;
 
@@ -310,7 +310,7 @@ static void
 gda_data_meta_wrapper_get_property (GObject *object,
 					guint param_id,
 					GValue *value,
-					GParamSpec *pspec)
+					G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataMetaWrapper *model;
 
diff --git a/libgda/gda-data-model-array.c b/libgda/gda-data-model-array.c
index 8f18c3c..b9f0649 100644
--- a/libgda/gda-data-model-array.c
+++ b/libgda/gda-data-model-array.c
@@ -173,7 +173,7 @@ gda_data_model_array_class_init (GdaDataModelArrayClass *klass)
 }
 
 static void
-gda_data_model_array_init (GdaDataModelArray *model, GdaDataModelArrayClass *klass)
+gda_data_model_array_init (GdaDataModelArray *model, G_GNUC_UNUSED GdaDataModelArrayClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_MODEL_ARRAY (model));
 
@@ -189,7 +189,7 @@ gda_data_model_array_init (GdaDataModelArray *model, GdaDataModelArrayClass *kla
 static void column_g_type_changed_cb (GdaColumn *column, GType old, GType new, GdaDataModelArray *model);
 
 static void
-hash_free_column (gpointer key, GdaColumn *column, GdaDataModelArray *model)
+hash_free_column (G_GNUC_UNUSED gpointer key, GdaColumn *column, GdaDataModelArray *model)
 {
         g_signal_handlers_disconnect_by_func (G_OBJECT (column),
                                               G_CALLBACK (column_g_type_changed_cb), model);
@@ -475,7 +475,7 @@ gda_data_model_array_describe_column (GdaDataModel *model, gint col)
 }
 
 static void
-column_g_type_changed_cb (GdaColumn *column, GType old, GType new, GdaDataModelArray *model)
+column_g_type_changed_cb (GdaColumn *column, G_GNUC_UNUSED GType old, GType new, GdaDataModelArray *model)
 {
         /* emit a warning if there are GValues which are not compatible with the new type */
         gint i, nrows, col;
diff --git a/libgda/gda-data-model-bdb.c b/libgda/gda-data-model-bdb.c
index 7318738..36f2172 100644
--- a/libgda/gda-data-model-bdb.c
+++ b/libgda/gda-data-model-bdb.c
@@ -134,7 +134,7 @@ gda_data_model_bdb_data_model_init (GdaDataModelIface *iface)
 
 static void
 gda_data_model_bdb_init (GdaDataModelBdb *model,
-			 GdaDataModelBdbClass *klass)
+			 G_GNUC_UNUSED GdaDataModelBdbClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_MODEL_BDB (model));
 
@@ -324,7 +324,7 @@ static void
 gda_data_model_bdb_set_property (GObject *object,
 				 guint param_id,
 				 const GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaDataModelBdb *model;
         const gchar *string;
@@ -440,7 +440,7 @@ static void
 gda_data_model_bdb_get_property (GObject *object,
                                     guint param_id,
                                     GValue *value,
-                                    GParamSpec *pspec)
+                                    G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaDataModelBdb *model;
 
@@ -743,7 +743,7 @@ gda_data_model_bdb_get_value_at (GdaDataModel *model, gint col, gint row, GError
 }
 
 static GdaValueAttribute
-gda_data_model_bdb_get_attributes_at (GdaDataModel *model, gint col, gint row)
+gda_data_model_bdb_get_attributes_at (GdaDataModel *model, gint col, G_GNUC_UNUSED gint row)
 {
 	GdaDataModelBdb *imodel;
 	GdaValueAttribute flags;
@@ -962,7 +962,8 @@ gda_data_model_bdb_set_values (GdaDataModel *model, gint row, GList *values, GEr
 }
 
 static gint
-gda_data_model_bdb_append_values (GdaDataModel *model, const GList *values, GError **error)
+gda_data_model_bdb_append_values (GdaDataModel *model, G_GNUC_UNUSED const GList *values,
+				  G_GNUC_UNUSED GError **error)
 {
 	g_return_val_if_fail (GDA_IS_DATA_MODEL_BDB (model), -1);
 
diff --git a/libgda/gda-data-model-dir.c b/libgda/gda-data-model-dir.c
index bcc0bbc..b1bd663 100644
--- a/libgda/gda-data-model-dir.c
+++ b/libgda/gda-data-model-dir.c
@@ -171,7 +171,7 @@ gda_data_model_dir_data_model_init (GdaDataModelIface *iface)
 
 static void
 gda_data_model_dir_init (GdaDataModelDir *model,
-			 GdaDataModelDirClass *klass)
+			 G_GNUC_UNUSED GdaDataModelDirClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_MODEL_DIR (model));
 
@@ -202,7 +202,7 @@ gda_data_model_dir_class_init (GdaDataModelDirClass *klass)
 }
 
 static void
-file_row_foreach_func (FileRow *row, gpointer data)
+file_row_foreach_func (FileRow *row, G_GNUC_UNUSED gpointer data)
 {
 	file_row_free (row);
 }
@@ -296,7 +296,7 @@ static void
 gda_data_model_dir_set_property (GObject *object,
 				 guint param_id,
 				 const GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaDataModelDir *model;
         const gchar *string;
@@ -639,7 +639,7 @@ static void
 gda_data_model_dir_get_property (GObject *object,
 				 guint param_id,
 				 GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataModelDir *model;
 
@@ -862,7 +862,7 @@ gda_data_model_dir_get_value_at (GdaDataModel *model, gint col, gint row, GError
 }
 
 static GdaValueAttribute
-gda_data_model_dir_get_attributes_at (GdaDataModel *model, gint col, gint row)
+gda_data_model_dir_get_attributes_at (GdaDataModel *model, gint col, G_GNUC_UNUSED gint row)
 {
 	GdaDataModelDir *imodel;
 	GdaValueAttribute flags = 0;
diff --git a/libgda/gda-data-model-dsn-list.c b/libgda/gda-data-model-dsn-list.c
index 3a70617..40b77a0 100644
--- a/libgda/gda-data-model-dsn-list.c
+++ b/libgda/gda-data-model-dsn-list.c
@@ -90,7 +90,7 @@ gda_data_model_dsn_list_data_model_init (GdaDataModelIface *iface)
 
 static void
 gda_data_model_dsn_list_init (GdaDataModelDsnList *model,
-			      GdaDataModelDsnListClass *klass)
+			      G_GNUC_UNUSED GdaDataModelDsnListClass *klass)
 {
 	GdaConfig *config;
 	GdaColumn *col;
@@ -195,20 +195,20 @@ gda_data_model_dsn_list_dispose (GObject *object)
 }
 
 static void 
-dsn_added_cb (GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
+dsn_added_cb (G_GNUC_UNUSED GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
 {
 	model->priv->nb_dsn++;
 	gda_data_model_row_inserted ((GdaDataModel *) model, gda_config_get_dsn_info_index (info->name));
 }
 
 static void
-dsn_to_be_removed_cb (GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
+dsn_to_be_removed_cb (G_GNUC_UNUSED GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
 {
 	model->priv->row_to_remove = gda_config_get_dsn_info_index (info->name);
 }
 
 static void
-dsn_removed_cb (GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
+dsn_removed_cb (G_GNUC_UNUSED GdaConfig *conf, G_GNUC_UNUSED GdaDsnInfo *info, GdaDataModelDsnList *model)
 {
 	model->priv->nb_dsn--;
 	gda_data_model_row_removed ((GdaDataModel *) model, model->priv->row_to_remove);
@@ -216,7 +216,7 @@ dsn_removed_cb (GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
 }
 
 static void 
-dsn_changed_cb (GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
+dsn_changed_cb (G_GNUC_UNUSED GdaConfig *conf, GdaDsnInfo *info, GdaDataModelDsnList *model)
 {
 	gda_data_model_row_updated ((GdaDataModel *) model, gda_config_get_dsn_info_index (info->name));
 }
@@ -290,7 +290,7 @@ gda_data_model_dsn_list_describe_column (GdaDataModel *model, gint col)
 }
 
 static GdaDataModelAccessFlags
-gda_data_model_dsn_list_get_access_flags (GdaDataModel *model)
+gda_data_model_dsn_list_get_access_flags (G_GNUC_UNUSED GdaDataModel *model)
 {
 	return GDA_DATA_MODEL_ACCESS_RANDOM;
 }
@@ -364,7 +364,7 @@ gda_data_model_dsn_list_get_value_at (GdaDataModel *model, gint col, gint row, G
 }
 
 static GdaValueAttribute
-gda_data_model_dsn_list_get_attributes_at (GdaDataModel *model, gint col, gint row)
+gda_data_model_dsn_list_get_attributes_at (G_GNUC_UNUSED GdaDataModel *model, G_GNUC_UNUSED gint col, G_GNUC_UNUSED gint row)
 {
 	return GDA_VALUE_ATTR_NO_MODIF;
 }
diff --git a/libgda/gda-data-model-import.c b/libgda/gda-data-model-import.c
index 9a77205..59b6c2e 100644
--- a/libgda/gda-data-model-import.c
+++ b/libgda/gda-data-model-import.c
@@ -281,7 +281,7 @@ gda_data_model_import_data_model_init (GdaDataModelIface *iface)
 }
 
 static void
-gda_data_model_import_init (GdaDataModelImport *model, GdaDataModelImportClass *klass)
+gda_data_model_import_init (GdaDataModelImport *model, G_GNUC_UNUSED GdaDataModelImportClass *klass)
 {
 	g_return_if_fail (GDA_IS_DATA_MODEL_IMPORT (model));
 	model->priv = g_new0 (GdaDataModelImportPrivate, 1);
@@ -477,7 +477,7 @@ static void
 gda_data_model_import_set_property (GObject *object,
 				    guint param_id,
 				    const GValue *value,
-				    GParamSpec *pspec)
+				    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataModelImport *model;
 	const gchar *string;
@@ -637,7 +637,7 @@ static void
 gda_data_model_import_get_property (GObject *object,
 				    guint param_id,
 				    GValue *value,
-				    GParamSpec *pspec)
+				    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataModelImport *model;
 
@@ -955,7 +955,7 @@ csv_parser_field_read_cb (char *s, size_t len, void *data)
 }
 
 static void 
-csv_parser_row_read_cb (char c, void *data) 
+csv_parser_row_read_cb (G_GNUC_UNUSED char c, void *data)
 {
 	CsvParserData *pdata = (CsvParserData* ) data;
 	GSList *row;
@@ -1711,7 +1711,7 @@ gda_data_model_import_get_value_at (GdaDataModel *model, gint col, gint row, GEr
 }
 
 static GdaValueAttribute
-gda_data_model_import_get_attributes_at (GdaDataModel *model, gint col, gint row)
+gda_data_model_import_get_attributes_at (GdaDataModel *model, gint col, G_GNUC_UNUSED gint row)
 {
 	GdaValueAttribute flags = 0;
 	GdaDataModelImport *imodel;
diff --git a/libgda/gda-data-model-iter.c b/libgda/gda-data-model-iter.c
index f1aa261..c015ed1 100644
--- a/libgda/gda-data-model-iter.c
+++ b/libgda/gda-data-model-iter.c
@@ -222,7 +222,7 @@ model_row_updated_cb (GdaDataModel *model, gint row, GdaDataModelIter *iter)
 }
 
 static void 
-model_row_removed_cb (GdaDataModel *model, gint row, GdaDataModelIter *iter)
+model_row_removed_cb (G_GNUC_UNUSED GdaDataModel *model, gint row, GdaDataModelIter *iter)
 {
 	if (iter->priv->row < 0)
 		/* we are not concerned by handling this signal */
@@ -408,7 +408,7 @@ static void
 gda_data_model_iter_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataModelIter *iter;
 
@@ -541,7 +541,7 @@ static void
 gda_data_model_iter_get_property (GObject *object,
 				  guint param_id,
 				  GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataModelIter *iter = GDA_DATA_MODEL_ITER (object);
 	
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index 72ca57e..27f436e 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -104,7 +104,7 @@ gda_data_model_get_type (void)
 }
 
 static void
-gda_data_model_class_init (gpointer g_class)
+gda_data_model_class_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
@@ -1228,8 +1228,8 @@ gda_data_model_export_to_string (GdaDataModel *model, GdaDataModelIOFormat forma
 gboolean
 gda_data_model_export_to_file (GdaDataModel *model, GdaDataModelIOFormat format, 
 			       const gchar *file,
-			       const gint *cols, gint nb_cols, 
-			       const gint *rows, gint nb_rows, 
+			       const gint *cols, G_GNUC_UNUSED gint nb_cols,
+			       const gint *rows, G_GNUC_UNUSED gint nb_rows,
 			       GdaSet *options, GError **error)
 {
 	gchar *body;
diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c
index 58f8d99..85e3ddc 100644
--- a/libgda/gda-data-proxy.c
+++ b/libgda/gda-data-proxy.c
@@ -522,10 +522,10 @@ gda_data_proxy_get_type (void)
 }
 
 static gboolean
-validate_row_changes_accumulator (GSignalInvocationHint *ihint,
+validate_row_changes_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 				  GValue *return_accu,
 				  const GValue *handler_return,
-				  gpointer data)
+				  G_GNUC_UNUSED gpointer data)
 {
 	GError *error;
 
@@ -536,7 +536,8 @@ validate_row_changes_accumulator (GSignalInvocationHint *ihint,
 }
 
 static GError *
-m_validate_row_changes (GdaDataProxy *proxy, gint row, gint proxied_row)
+m_validate_row_changes (G_GNUC_UNUSED GdaDataProxy *proxy, G_GNUC_UNUSED gint row,
+			G_GNUC_UNUSED gint proxied_row)
 {
         return NULL; /* defaults allows changes */
 }
@@ -892,7 +893,7 @@ static void
 gda_data_proxy_set_property (GObject *object,
 			     guint param_id,
 			     const GValue *value,
-			     GParamSpec *pspec)
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataProxy *proxy;
 
@@ -989,7 +990,7 @@ static void
 gda_data_proxy_get_property (GObject *object,
 			     guint param_id,
 			     GValue *value,
-			     GParamSpec *pspec)
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataProxy *proxy;
 
@@ -1012,7 +1013,7 @@ gda_data_proxy_get_property (GObject *object,
 }
 
 static void
-proxied_model_row_inserted_cb (GdaDataModel *model, gint row, GdaDataProxy *proxy)
+proxied_model_row_inserted_cb (G_GNUC_UNUSED GdaDataModel *model, gint row, GdaDataProxy *proxy)
 {
 	gint abs_row;
 	gint signal_row_offset = proxy->priv->add_null_entry ? 1 : 0;
@@ -1064,7 +1065,7 @@ proxied_model_row_inserted_cb (GdaDataModel *model, gint row, GdaDataProxy *prox
 }
 
 static void 
-proxied_model_row_updated_cb (GdaDataModel *model, gint row, GdaDataProxy *proxy)
+proxied_model_row_updated_cb (G_GNUC_UNUSED GdaDataModel *model, gint row, GdaDataProxy *proxy)
 {
 	gint proxy_row;
 	RowModif *rm;
@@ -1087,7 +1088,7 @@ proxied_model_row_updated_cb (GdaDataModel *model, gint row, GdaDataProxy *proxy
 }
 
 static void
-proxied_model_row_removed_cb (GdaDataModel *model, gint row, GdaDataProxy *proxy)
+proxied_model_row_removed_cb (G_GNUC_UNUSED GdaDataModel *model, gint row, GdaDataProxy *proxy)
 {
 	gint proxy_row, abs_row;
 	RowModif *rm;
@@ -2350,7 +2351,7 @@ display_chunks_dump (GdaDataProxy *proxy)
 }
 #else 
 static void
-display_chunks_dump (GdaDataProxy *proxy)
+display_chunks_dump (G_GNUC_UNUSED GdaDataProxy *proxy)
 {}
 #endif
 
@@ -2856,7 +2857,7 @@ gda_data_proxy_cancel_all_changes (GdaDataProxy *proxy)
 }
 
 static gboolean
-sql_where_foreach (GdaSqlAnyPart *part, GdaDataProxy *proxy, GError **error)
+sql_where_foreach (GdaSqlAnyPart *part, GdaDataProxy *proxy, G_GNUC_UNUSED GError **error)
 {
 	if (part->type == GDA_SQL_ANY_EXPR) {
 		GdaSqlExpr *expr = (GdaSqlExpr*) part;
@@ -3871,7 +3872,7 @@ gda_data_proxy_append_values (GdaDataModel *model, const GList *values, GError *
 }
 
 static gint
-gda_data_proxy_append_row (GdaDataModel *model, GError **error)
+gda_data_proxy_append_row (GdaDataModel *model, G_GNUC_UNUSED GError **error)
 {
 	GdaDataProxy *proxy;
 	gint i;
diff --git a/libgda/gda-data-select.c b/libgda/gda-data-select.c
index e69cd7d..3647fab 100644
--- a/libgda/gda-data-select.c
+++ b/libgda/gda-data-select.c
@@ -315,7 +315,7 @@ gda_data_select_data_model_init (GdaDataModelIface *iface)
 }
 
 static void
-gda_data_select_init (GdaDataSelect *model, GdaDataSelectClass *klass)
+gda_data_select_init (GdaDataSelect *model, G_GNUC_UNUSED GdaDataSelectClass *klass)
 {
 	ModType i;
 
@@ -359,7 +359,8 @@ gda_data_select_init (GdaDataSelect *model, GdaDataSelectClass *klass)
 }
 
 static void
-ext_params_holder_changed_cb (GdaSet *paramlist, GdaHolder *param, GdaDataSelect *model)
+ext_params_holder_changed_cb (G_GNUC_UNUSED GdaSet *paramlist, G_GNUC_UNUSED GdaHolder *param,
+			      GdaDataSelect *model)
 {
 	if (model->priv->sh->reset_with_ext_params_change) {
 		GError *error = NULL;
@@ -619,7 +620,7 @@ static void
 gda_data_select_set_property (GObject *object,
 			 guint param_id,
 			 const GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataSelect *model = (GdaDataSelect *) object;
 	if (model->priv) {
@@ -708,7 +709,7 @@ static void
 gda_data_select_get_property (GObject *object,
 			 guint param_id,
 			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDataSelect *model = (GdaDataSelect *) object;
 	if (model->priv) {
@@ -1328,7 +1329,7 @@ gda_data_select_compute_modification_statements (GdaDataSelect *model, GError **
 }
 
 static gboolean
-row_selection_condition_foreach_func (GdaSqlAnyPart *part, gpointer data, GError **error)
+row_selection_condition_foreach_func (GdaSqlAnyPart *part, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	if (part->type != GDA_SQL_ANY_SQL_OPERATION) 
 		return TRUE;
@@ -1811,7 +1812,7 @@ gda_data_select_get_value_at (GdaDataModel *model, gint col, gint row, GError **
 }
 
 static GdaValueAttribute
-gda_data_select_get_attributes_at (GdaDataModel *model, gint col, gint row)
+gda_data_select_get_attributes_at (GdaDataModel *model, gint col, G_GNUC_UNUSED gint row)
 {
 	GdaValueAttribute flags = GDA_VALUE_ATTR_IS_UNCHANGED;
 	GdaDataSelect *imodel;
@@ -3174,7 +3175,8 @@ compute_insert_select_params_mapping (GdaSet *sel_params, GdaSet *ins_values, Gd
 }
 
 static gboolean
-compute_insert_select_params_mapping_foreach_func (GdaSqlAnyPart *part, CorrespData *data, GError **error)
+compute_insert_select_params_mapping_foreach_func (GdaSqlAnyPart *part, CorrespData *data,
+						   G_GNUC_UNUSED GError **error)
 {
 	if (part->type != GDA_SQL_ANY_SQL_OPERATION) 
 		return TRUE;
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index b26a1bc..f5097ee 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -147,10 +147,10 @@ gda_holder_get_type (void)
 }
 
 static gboolean
-validate_change_accumulator (GSignalInvocationHint *ihint,
+validate_change_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 			   GValue *return_accu,
 			   const GValue *handler_return,
-			   gpointer data)
+			   G_GNUC_UNUSED gpointer data)
 {
 	GError *error;
 
@@ -161,13 +161,14 @@ validate_change_accumulator (GSignalInvocationHint *ihint,
 }
 
 static GError *
-m_validate_change (GdaHolder *holder, const GValue *new_value)
+m_validate_change (G_GNUC_UNUSED GdaHolder *holder, G_GNUC_UNUSED const GValue *new_value)
 {
 	return NULL;
 }
 
 static void
-holder_attribute_set_cb (GObject *obj, const gchar *att_name, const GValue *value, gpointer data)
+holder_attribute_set_cb (GObject *obj, const gchar *att_name, const GValue *value,
+			 G_GNUC_UNUSED gpointer data)
 {
 	g_signal_emit (obj, gda_holder_signals[ATT_CHANGED], 0, att_name, value);
 }
@@ -555,7 +556,7 @@ static void
 gda_holder_set_property (GObject *object,
 			 guint param_id,
 			 const GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaHolder *holder;
 
@@ -622,7 +623,7 @@ static void
 gda_holder_get_property (GObject *object,
 			 guint param_id,
 			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaHolder *holder;
 	const GValue *cvalue;
@@ -1439,7 +1440,7 @@ gda_holder_get_not_null (GdaHolder *holder)
  */
 gboolean
 gda_holder_set_source_model (GdaHolder *holder, GdaDataModel *model,
-			     gint col, GError **error)
+			     gint col, G_GNUC_UNUSED GError **error)
 {
 	g_return_val_if_fail (GDA_IS_HOLDER (holder), FALSE);
 	g_return_val_if_fail (holder->priv, FALSE);
@@ -1508,7 +1509,7 @@ gda_holder_get_source_model (GdaHolder *holder, gint *col)
  * gda_holder_set_bind() was called, and it makes sure @holder's GType is the same as @holder->priv->simple_bind's
  */
 static void
-bind_to_notify_cb (GdaHolder *bind_to, GParamSpec *pspec, GdaHolder *holder)
+bind_to_notify_cb (GdaHolder *bind_to, G_GNUC_UNUSED GParamSpec *pspec, GdaHolder *holder)
 {
 	g_signal_handler_disconnect (holder->priv->simple_bind,
 				     holder->priv->simple_bind_notify_signal_id);
diff --git a/libgda/gda-lockable.c b/libgda/gda-lockable.c
index 0a94307..2e4f923 100644
--- a/libgda/gda-lockable.c
+++ b/libgda/gda-lockable.c
@@ -55,7 +55,7 @@ gda_lockable_get_type (void)
 }
 
 static void
-gda_lockable_class_init (gpointer g_class)
+gda_lockable_class_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index ca9da76..dc7df66 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -339,10 +339,10 @@ ProviderSpecific_equal (gconstpointer a, gconstpointer b)
 }
 
 static gboolean
-suggest_update_accumulator (GSignalInvocationHint *ihint,
+suggest_update_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 			    GValue *return_accu,
 			    const GValue *handler_return,
-			    gpointer data)
+			    G_GNUC_UNUSED gpointer data)
 {
         GError *error;
 
@@ -353,7 +353,7 @@ suggest_update_accumulator (GSignalInvocationHint *ihint,
 }
 
 static GError *
-m_suggest_update (GdaMetaStore *store, GdaMetaContext *suggest)
+m_suggest_update (G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *suggest)
 {
         return NULL; /* defaults allows update suggest */
 }
@@ -733,7 +733,7 @@ static void
 gda_meta_store_set_property (GObject *object,
 			     guint param_id,
 			     const GValue *value,
-			     GParamSpec *pspec) 
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaMetaStore *store;
 	const gchar *cnc_string;
@@ -786,7 +786,7 @@ static void
 gda_meta_store_get_property (GObject *object,
 			     guint param_id,
 			     GValue *value,
-			     GParamSpec *pspec) 
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaMetaStore *store;
 	store = GDA_META_STORE (object);
@@ -1043,7 +1043,7 @@ create_server_operation_for_table (GHashTable *specific_hash,
 }
 
 static GdaServerOperation *
-create_server_operation_for_view (GHashTable *specific_hash, 
+create_server_operation_for_view (G_GNUC_UNUSED GHashTable *specific_hash,
 				  GdaServerProvider *prov, GdaConnection *cnc, DbObject *dbobj, GError **error)
 {
 	GdaServerOperation *op;
@@ -1740,7 +1740,8 @@ make_expr_AND (GdaSqlAnyPart *parent, GdaSqlExpr *current)
 }
 
 static GdaSqlExpr *
-make_expr_EQUAL (GdaSqlAnyPart *parent, xmlChar *cname, xmlChar *type, GType ptype, gboolean nullok, gint index) 
+make_expr_EQUAL (GdaSqlAnyPart *parent, xmlChar *cname, G_GNUC_UNUSED xmlChar *type, GType ptype,
+		 gboolean nullok, gint index)
 {
 	GdaSqlOperation *op;
 	GdaSqlExpr *retexpr, *expr;
@@ -1855,7 +1856,7 @@ build_pass (GSList *objects, GSList *ordered_list)
  * in a way that for any given DbObject in the list, all the dependencies are _before_ it in the list
  */
 static GSList *
-reorder_db_objects (GSList *objects, GHashTable *hash)
+reorder_db_objects (GSList *objects, G_GNUC_UNUSED GHashTable *hash)
 {
 	GSList *pass_list;
 	GSList *ordered_list = NULL;
@@ -1878,7 +1879,7 @@ reorder_db_objects (GSList *objects, GHashTable *hash)
  * Returns: TRUE if all information is Ok
  */
 static gboolean
-complement_db_objects (GSList *objects, GHashTable *hash, GError **error)
+complement_db_objects (GSList *objects, G_GNUC_UNUSED GHashTable *hash, GError **error)
 {
 	GSList *list;
 	for (list = objects; list; list = list->next) {
@@ -2013,7 +2014,7 @@ table_fkey_free (TableFKey *tfk)
 }
 
 static gboolean
-update_schema_version (GdaMetaStore *store, const gchar *version, GError **error)
+update_schema_version (GdaMetaStore *store, G_GNUC_UNUSED const gchar *version, GError **error)
 {
 	GdaSet *params;
 	GdaMetaStoreClass *klass;
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index 36fb4d0..993884c 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -220,7 +220,7 @@ static void
 gda_meta_struct_set_property (GObject *object,
 			      guint param_id,
 			      const GValue *value,
-			      GParamSpec *pspec)
+			      G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaMetaStruct *mstruct;
 
@@ -250,7 +250,7 @@ static void
 gda_meta_struct_get_property (GObject *object,
 			      guint param_id,
 			      GValue *value,
-			      GParamSpec *pspec)
+			      G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaMetaStruct *mstruct;
         mstruct = GDA_META_STRUCT (object);
@@ -270,14 +270,14 @@ gda_meta_struct_get_property (GObject *object,
 }
 
 static void
-meta_store_changed_cb (GdaMetaStore *store, GSList *changes, GdaMetaStruct *mstruct)
+meta_store_changed_cb (GdaMetaStore *store, G_GNUC_UNUSED GSList *changes, GdaMetaStruct *mstruct)
 {
 	/* for now we mark ALL the db objects as outdated */
 	meta_store_reset_cb (store, mstruct);
 }
 
 static void
-meta_store_reset_cb (GdaMetaStore *store, GdaMetaStruct *mstruct)
+meta_store_reset_cb (G_GNUC_UNUSED GdaMetaStore *store, GdaMetaStruct *mstruct)
 {
 	/* mark ALL the db objects as outdated */
 	GSList *list;
@@ -1450,7 +1450,8 @@ db_object_sort_func (GdaMetaDbObject *dbo1, GdaMetaDbObject *dbo2)
  * Returns: TRUE if no error occurred
  */ 
 gboolean
-gda_meta_struct_sort_db_objects (GdaMetaStruct *mstruct, GdaMetaSortType sort_type, GError **error)
+gda_meta_struct_sort_db_objects (GdaMetaStruct *mstruct, GdaMetaSortType sort_type,
+				 G_GNUC_UNUSED GError **error)
 {
 	GSList *pass_list;
 	GSList *ordered_list = NULL;
@@ -1645,7 +1646,7 @@ gda_meta_struct_get_table_column (GdaMetaStruct *mstruct, GdaMetaTable *table, c
  * Returns: (transfer full): a new string, or %NULL if an error occurred.
  */
 gchar *
-gda_meta_struct_dump_as_graph (GdaMetaStruct *mstruct, GdaMetaGraphInfo info, GError **error)
+gda_meta_struct_dump_as_graph (GdaMetaStruct *mstruct, GdaMetaGraphInfo info, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	gchar *result;
diff --git a/libgda/gda-row.c b/libgda/gda-row.c
index c2ecd03..bb3cce8 100644
--- a/libgda/gda-row.c
+++ b/libgda/gda-row.c
@@ -79,7 +79,7 @@ gda_row_class_init (GdaRowClass *klass)
 }
 
 static void
-gda_row_init (GdaRow *row, GdaRowClass *klass)
+gda_row_init (GdaRow *row, G_GNUC_UNUSED GdaRowClass *klass)
 {
 	g_return_if_fail (GDA_IS_ROW (row));
 	
@@ -124,7 +124,7 @@ static void
 gda_row_set_property (GObject *object,
 		      guint param_id,
 		      const GValue *value,
-		      GParamSpec *pspec)
+		      G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaRow *row;
 
@@ -148,7 +148,7 @@ static void
 gda_row_get_property (GObject *object,
 		      guint param_id,
 		      GValue *value,
-		      GParamSpec *pspec)
+		      G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaRow *row;
 
@@ -238,7 +238,7 @@ gda_row_get_value (GdaRow *row, gint num)
  * providers' implementations to report any error while reading a value from the database.
  */
 void
-gda_row_invalidate_value (GdaRow *row, GValue *value)
+gda_row_invalidate_value (G_GNUC_UNUSED GdaRow *row, GValue *value)
 {
 	gda_value_set_null (value);
 	G_VALUE_TYPE (value) = G_TYPE_NONE;
@@ -256,7 +256,7 @@ gda_row_invalidate_value (GdaRow *row, GValue *value)
  * Returns: %TRUE if @value is valid
  */
 gboolean
-gda_row_value_is_valid (GdaRow *row, GValue *value)
+gda_row_value_is_valid (G_GNUC_UNUSED GdaRow *row, GValue *value)
 {
 	return (G_VALUE_TYPE (value) == G_TYPE_NONE) ? FALSE : TRUE;
 }
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index 188450f..63a28cd 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -201,7 +201,7 @@ gda_server_operation_class_init (GdaServerOperationClass *klass)
 
 static void
 gda_server_operation_init (GdaServerOperation *operation,
-			  GdaServerOperationClass *klass)
+			  G_GNUC_UNUSED GdaServerOperationClass *klass)
 {
 	g_return_if_fail (GDA_IS_SERVER_OPERATION (operation));
 
@@ -443,7 +443,7 @@ node_find_or_create (GdaServerOperation *op, const gchar *path)
  * Computes the complete path of a node
  */
 static gchar *
-node_get_complete_path (GdaServerOperation *op, Node *node)
+node_get_complete_path (G_GNUC_UNUSED GdaServerOperation *op, Node *node)
 {
 	GString *string;
 	gchar *retval;
@@ -525,7 +525,7 @@ static void
 gda_server_operation_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaServerOperation *op;
 
@@ -622,7 +622,7 @@ static void
 gda_server_operation_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaServerOperation *op;
 
@@ -1303,7 +1303,7 @@ static gboolean node_save (GdaServerOperation *op, Node *opnode, xmlNodePtr pare
  * Returns: (transfer full): a new #xmlNodePtr structure, or %NULL
  */
 xmlNodePtr
-gda_server_operation_save_data_to_xml (GdaServerOperation *op, GError **error)
+gda_server_operation_save_data_to_xml (GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	xmlNodePtr topnode = NULL;
 	GSList *list;
diff --git a/libgda/gda-server-provider-extra.c b/libgda/gda-server-provider-extra.c
index eb12be9..afafa28 100644
--- a/libgda/gda-server-provider-extra.c
+++ b/libgda/gda-server-provider-extra.c
@@ -109,8 +109,8 @@ gda_server_provider_perform_operation_default (GdaServerProvider *provider, GdaC
  * Returns: (transfer none): a #GdaDataHandler, or %NULL
  */
 GdaDataHandler *
-gda_server_provider_get_data_handler_default (GdaServerProvider *provider, GdaConnection *cnc,
-					      GType type, const gchar *dbms_type)
+gda_server_provider_get_data_handler_default (GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc,
+					      GType type, G_GNUC_UNUSED const gchar *dbms_type)
 {
 	GdaDataHandler *dh;
 	if ((type == G_TYPE_INT64) ||
@@ -185,7 +185,7 @@ gda_server_provider_get_data_handler_default (GdaServerProvider *provider, GdaCo
 }
 
 static gboolean
-param_to_null_foreach (GdaSqlAnyPart *part, gpointer data, GError **error)
+param_to_null_foreach (GdaSqlAnyPart *part, G_GNUC_UNUSED gpointer data, G_GNUC_UNUSED GError **error)
 {
 	if (part->type == GDA_SQL_ANY_EXPR) {
 		GdaSqlExpr *expr = (GdaSqlExpr*) part;
@@ -216,7 +216,7 @@ param_to_null_foreach (GdaSqlAnyPart *part, gpointer data, GError **error)
  * Returns: (transfer full): a new #GdaStatement
  */
 GdaStatement *
-gda_select_alter_select_for_empty (GdaStatement *stmt, GError **error)
+gda_select_alter_select_for_empty (GdaStatement *stmt, G_GNUC_UNUSED GError **error)
 {
 	GdaStatement *estmt;
 	GdaSqlStatement *sqlst;
diff --git a/libgda/gda-server-provider.c b/libgda/gda-server-provider.c
index 9ff0dfa..6edd373 100644
--- a/libgda/gda-server-provider.c
+++ b/libgda/gda-server-provider.c
@@ -158,7 +158,7 @@ gda_server_provider_handler_info_free (GdaServerProviderHandlerInfo *info)
 
 static void
 gda_server_provider_init (GdaServerProvider *provider,
-			  GdaServerProviderClass *klass)
+			  G_GNUC_UNUSED GdaServerProviderClass *klass)
 {
 	g_return_if_fail (GDA_IS_SERVER_PROVIDER (provider));
 
@@ -220,8 +220,8 @@ gda_server_provider_get_type (void)
 static void
 gda_server_provider_set_property (GObject *object,
 				  guint param_id,
-				  const GValue *value,
-				  GParamSpec *pspec) {
+				  G_GNUC_UNUSED const GValue *value,
+				  G_GNUC_UNUSED GParamSpec *pspec) {
         GdaServerProvider *prov;
 
         prov = GDA_SERVER_PROVIDER (object);
@@ -236,8 +236,8 @@ gda_server_provider_set_property (GObject *object,
 static void
 gda_server_provider_get_property (GObject *object,
 				  guint param_id,
-				  GValue *value,
-				  GParamSpec *pspec) {
+				  G_GNUC_UNUSED GValue *value,
+				  G_GNUC_UNUSED GParamSpec *pspec) {
         GdaServerProvider *prov;
 
         prov = GDA_SERVER_PROVIDER (object);
diff --git a/libgda/gda-set.c b/libgda/gda-set.c
index 1028fa1..3d5ddfc 100644
--- a/libgda/gda-set.c
+++ b/libgda/gda-set.c
@@ -206,10 +206,10 @@ gda_set_get_type (void)
 }
 
 static gboolean
-validate_accumulator (GSignalInvocationHint *ihint,
+validate_accumulator (G_GNUC_UNUSED GSignalInvocationHint *ihint,
 		      GValue *return_accu,
 		      const GValue *handler_return,
-		      gpointer data)
+		      G_GNUC_UNUSED gpointer data)
 {
 	GError *error;
 
@@ -220,13 +220,14 @@ validate_accumulator (GSignalInvocationHint *ihint,
 }
 
 static GError *
-m_validate_holder_change (GdaSet *set, GdaHolder *holder, const GValue *new_value)
+m_validate_holder_change (G_GNUC_UNUSED GdaSet *set, G_GNUC_UNUSED GdaHolder *holder,
+			  G_GNUC_UNUSED const GValue *new_value)
 {
 	return NULL;
 }
 
 static GError *
-m_validate_set (GdaSet *set)
+m_validate_set (G_GNUC_UNUSED GdaSet *set)
 {
 	return NULL;
 }
@@ -1010,7 +1011,7 @@ gda_set_remove_holder (GdaSet *set, GdaHolder *holder)
 }
 
 static void
-source_changed_holder_cb (GdaHolder *holder, GdaSet *set)
+source_changed_holder_cb (G_GNUC_UNUSED GdaHolder *holder, GdaSet *set)
 {
 	compute_public_data (set);
 }
@@ -1060,7 +1061,7 @@ changed_holder_cb (GdaHolder *holder, GdaSet *set)
 }
 
 static void
-group_free (GdaSetGroup *group, gpointer data)
+group_free (GdaSetGroup *group, G_GNUC_UNUSED gpointer data)
 {
 	g_slist_free (group->nodes);
 	g_free (group);
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index 80b6269..6fe0439 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -220,7 +220,7 @@ static void
 gda_sql_builder_set_property (GObject *object,
 			     guint param_id,
 			     const GValue *value,
-			     GParamSpec *pspec)
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaSqlBuilder *builder;
 	GdaSqlStatementType stmt_type;
@@ -249,8 +249,8 @@ gda_sql_builder_set_property (GObject *object,
 static void
 gda_sql_builder_get_property (GObject *object,
 			     guint param_id,
-			     GValue *value,
-			     GParamSpec *pspec)
+			     G_GNUC_UNUSED GValue *value,
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaSqlBuilder *builder;
 	builder = GDA_SQL_BUILDER (object);
diff --git a/libgda/gda-transaction-status.c b/libgda/gda-transaction-status.c
index ad74c10..e07c29f 100644
--- a/libgda/gda-transaction-status.c
+++ b/libgda/gda-transaction-status.c
@@ -50,7 +50,7 @@ gda_transaction_status_class_init (GdaTransactionStatusClass *klass)
 }
 
 static void
-gda_transaction_status_init (GdaTransactionStatus *tstatus, GdaTransactionStatusClass *klass)
+gda_transaction_status_init (GdaTransactionStatus *tstatus, G_GNUC_UNUSED GdaTransactionStatusClass *klass)
 {
 	tstatus->name = NULL;
 	tstatus->isolation_level = GDA_TRANSACTION_ISOLATION_UNKNOWN;
diff --git a/libgda/gda-tree-manager.c b/libgda/gda-tree-manager.c
index 317e9b5..cb03d02 100644
--- a/libgda/gda-tree-manager.c
+++ b/libgda/gda-tree-manager.c
@@ -106,7 +106,7 @@ gda_tree_manager_class_init (GdaTreeManagerClass *klass)
 }
 
 static void
-gda_tree_manager_init (GdaTreeManager *manager, GdaTreeManagerClass *klass)
+gda_tree_manager_init (GdaTreeManager *manager, G_GNUC_UNUSED GdaTreeManagerClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MANAGER (manager));
 
@@ -196,7 +196,7 @@ static void
 gda_tree_manager_set_property (GObject *object,
 			       guint param_id,
 			       const GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTreeManager *manager;
 
@@ -217,7 +217,7 @@ static void
 gda_tree_manager_get_property (GObject *object,
 			       guint param_id,
 			       GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTreeManager *manager;
 	
diff --git a/libgda/gda-tree-mgr-columns.c b/libgda/gda-tree-mgr-columns.c
index cc6fda3..9a10b6e 100644
--- a/libgda/gda-tree-mgr-columns.c
+++ b/libgda/gda-tree-mgr-columns.c
@@ -107,7 +107,7 @@ gda_tree_mgr_columns_class_init (GdaTreeMgrColumnsClass *klass)
 }
 
 static void
-gda_tree_mgr_columns_init (GdaTreeMgrColumns *mgr, GdaTreeMgrColumnsClass *klass)
+gda_tree_mgr_columns_init (GdaTreeMgrColumns *mgr, G_GNUC_UNUSED GdaTreeMgrColumnsClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MGR_COLUMNS (mgr));
 	mgr->priv = g_new0 (GdaTreeMgrColumnsPriv, 1);
@@ -177,7 +177,7 @@ static void
 gda_tree_mgr_columns_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrColumns *mgr;
 
@@ -203,7 +203,7 @@ static void
 gda_tree_mgr_columns_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrColumns *mgr;
 
@@ -250,7 +250,7 @@ gda_tree_mgr_columns_new (GdaConnection *cnc, const gchar *schema, const gchar *
 }
 
 static GSList *
-gda_tree_mgr_columns_update_children (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
+gda_tree_mgr_columns_update_children (GdaTreeManager *manager, GdaTreeNode *node, G_GNUC_UNUSED const GSList *children_nodes,
 				      gboolean *out_error, GError **error)
 {
 	GdaTreeMgrColumns *mgr = GDA_TREE_MGR_COLUMNS (manager);
diff --git a/libgda/gda-tree-mgr-label.c b/libgda/gda-tree-mgr-label.c
index f720135..885a718 100644
--- a/libgda/gda-tree-mgr-label.c
+++ b/libgda/gda-tree-mgr-label.c
@@ -81,7 +81,7 @@ gda_tree_mgr_label_class_init (GdaTreeMgrLabelClass *klass)
 }
 
 static void
-gda_tree_mgr_label_init (GdaTreeMgrLabel *mgr, GdaTreeMgrLabelClass *klass)
+gda_tree_mgr_label_init (GdaTreeMgrLabel *mgr, G_GNUC_UNUSED GdaTreeMgrLabelClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MGR_LABEL (mgr));
 	mgr->priv = g_new0 (GdaTreeMgrLabelPriv, 1);
@@ -140,7 +140,7 @@ static void
 gda_tree_mgr_label_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrLabel *mgr;
 
@@ -158,7 +158,7 @@ static void
 gda_tree_mgr_label_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrLabel *mgr;
 
@@ -193,7 +193,7 @@ gda_tree_mgr_label_new (const gchar *label)
 
 static GSList *
 gda_tree_mgr_label_update_children (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
-				    gboolean *out_error, GError **error)
+				    G_GNUC_UNUSED gboolean *out_error, G_GNUC_UNUSED GError **error)
 {
 	if (children_nodes) {
 		GSList *list = g_slist_copy ((GSList*) children_nodes);
diff --git a/libgda/gda-tree-mgr-schemas.c b/libgda/gda-tree-mgr-schemas.c
index 674ba6b..497e44f 100644
--- a/libgda/gda-tree-mgr-schemas.c
+++ b/libgda/gda-tree-mgr-schemas.c
@@ -81,7 +81,7 @@ gda_tree_mgr_schemas_class_init (GdaTreeMgrSchemasClass *klass)
 }
 
 static void
-gda_tree_mgr_schemas_init (GdaTreeMgrSchemas *mgr, GdaTreeMgrSchemasClass *klass)
+gda_tree_mgr_schemas_init (GdaTreeMgrSchemas *mgr, G_GNUC_UNUSED GdaTreeMgrSchemasClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MGR_SCHEMAS (mgr));
 	mgr->priv = g_new0 (GdaTreeMgrSchemasPriv, 1);
@@ -146,7 +146,7 @@ static void
 gda_tree_mgr_schemas_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrSchemas *mgr;
 
@@ -166,7 +166,7 @@ static void
 gda_tree_mgr_schemas_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrSchemas *mgr;
 
@@ -203,8 +203,9 @@ gda_tree_mgr_schemas_new (GdaConnection *cnc)
 }
 
 static GSList *
-gda_tree_mgr_schemas_update_children (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
-				      gboolean *out_error, GError **error)
+gda_tree_mgr_schemas_update_children (GdaTreeManager *manager, GdaTreeNode *node,
+				      G_GNUC_UNUSED const GSList *children_nodes, gboolean *out_error,
+				      GError **error)
 {
 	GdaTreeMgrSchemas *mgr = GDA_TREE_MGR_SCHEMAS (manager);
 	GdaMetaStore *store;
diff --git a/libgda/gda-tree-mgr-select.c b/libgda/gda-tree-mgr-select.c
index d38dabc..957b360 100644
--- a/libgda/gda-tree-mgr-select.c
+++ b/libgda/gda-tree-mgr-select.c
@@ -95,7 +95,7 @@ gda_tree_mgr_select_class_init (GdaTreeMgrSelectClass *klass)
 }
 
 static void
-gda_tree_mgr_select_init (GdaTreeMgrSelect *mgr, GdaTreeMgrSelectClass *klass)
+gda_tree_mgr_select_init (GdaTreeMgrSelect *mgr, G_GNUC_UNUSED GdaTreeMgrSelectClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MGR_SELECT (mgr));
 	mgr->priv = g_new0 (GdaTreeMgrSelectPriv, 1);
@@ -166,7 +166,7 @@ static void
 gda_tree_mgr_select_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrSelect *mgr;
 
@@ -234,7 +234,7 @@ static void
 gda_tree_mgr_select_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrSelect *mgr;
 
@@ -282,8 +282,9 @@ gda_tree_mgr_select_new (GdaConnection *cnc, GdaStatement *stmt, GdaSet *params)
 }
 
 static GSList *
-gda_tree_mgr_select_update_children (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
-				     gboolean *out_error, GError **error)
+gda_tree_mgr_select_update_children (GdaTreeManager *manager, GdaTreeNode *node,
+				     G_GNUC_UNUSED const GSList *children_nodes, gboolean *out_error,
+				     GError **error)
 {
 	GdaTreeMgrSelect *mgr = GDA_TREE_MGR_SELECT (manager);
 	GdaDataModel *model;
diff --git a/libgda/gda-tree-mgr-tables.c b/libgda/gda-tree-mgr-tables.c
index 58fddec..331c516 100644
--- a/libgda/gda-tree-mgr-tables.c
+++ b/libgda/gda-tree-mgr-tables.c
@@ -98,7 +98,7 @@ gda_tree_mgr_tables_class_init (GdaTreeMgrTablesClass *klass)
 }
 
 static void
-gda_tree_mgr_tables_init (GdaTreeMgrTables *mgr, GdaTreeMgrTablesClass *klass)
+gda_tree_mgr_tables_init (GdaTreeMgrTables *mgr, G_GNUC_UNUSED GdaTreeMgrTablesClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_MGR_TABLES (mgr));
 	mgr->priv = g_new0 (GdaTreeMgrTablesPriv, 1);
@@ -169,7 +169,7 @@ static void
 gda_tree_mgr_tables_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrTables *mgr;
 
@@ -192,7 +192,7 @@ static void
 gda_tree_mgr_tables_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaTreeMgrTables *mgr;
 
@@ -234,8 +234,9 @@ gda_tree_mgr_tables_new (GdaConnection *cnc, const gchar *schema)
 }
 
 static GSList *
-gda_tree_mgr_tables_update_children (GdaTreeManager *manager, GdaTreeNode *node, const GSList *children_nodes,
-				     gboolean *out_error, GError **error)
+gda_tree_mgr_tables_update_children (GdaTreeManager *manager, GdaTreeNode *node,
+				     G_GNUC_UNUSED const GSList *children_nodes, gboolean *out_error,
+				     GError **error)
 {
 	GdaTreeMgrTables *mgr = GDA_TREE_MGR_TABLES (manager);
 	GdaMetaStore *store;
diff --git a/libgda/gda-tree-node.c b/libgda/gda-tree-node.c
index 47f7a1f..7353959 100644
--- a/libgda/gda-tree-node.c
+++ b/libgda/gda-tree-node.c
@@ -261,7 +261,7 @@ m_node_deleted (GdaTreeNode *reporting, const gchar *relative_path)
 }
 
 static void
-gda_tree_node_init (GdaTreeNode *tnode, GdaTreeNodeClass *klass)
+gda_tree_node_init (GdaTreeNode *tnode, G_GNUC_UNUSED GdaTreeNodeClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE_NODE (tnode));
 
@@ -337,7 +337,7 @@ static void
 gda_tree_node_set_property (GObject *object,
 			    guint param_id,
 			    const GValue *value,
-			    GParamSpec *pspec)
+			    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTreeNode *tnode;
 
@@ -355,7 +355,7 @@ static void
 gda_tree_node_get_property (GObject *object,
 			    guint param_id,
 			    GValue *value,
-			    GParamSpec *pspec)
+			    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTreeNode *tnode;
 	
diff --git a/libgda/gda-tree.c b/libgda/gda-tree.c
index 3ca4ff6..9b34223 100644
--- a/libgda/gda-tree.c
+++ b/libgda/gda-tree.c
@@ -178,7 +178,7 @@ gda_tree_class_init (GdaTreeClass *klass)
 }
 
 static void
-gda_tree_init (GdaTree *tree, GdaTreeClass *klass)
+gda_tree_init (GdaTree *tree, G_GNUC_UNUSED GdaTreeClass *klass)
 {
 	g_return_if_fail (GDA_IS_TREE (tree));
 
@@ -261,8 +261,8 @@ gda_tree_get_type (void)
 static void
 gda_tree_set_property (GObject *object,
 			 guint param_id,
-			 const GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED const GValue *value,
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTree *tree;
 
@@ -277,7 +277,7 @@ static void
 gda_tree_get_property (GObject *object,
 			 guint param_id,
 			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaTree *tree;
 	
@@ -929,7 +929,7 @@ node_has_child_toggled_cb (GdaTreeNode *reporting, GdaTreeNode *node, GdaTree *t
 }
 
 static void
-node_deleted_cb (GdaTreeNode *reporting, const gchar *relative_path, GdaTree *tree)
+node_deleted_cb (G_GNUC_UNUSED GdaTreeNode *reporting, const gchar *relative_path, GdaTree *tree)
 {
 	g_signal_emit (tree, gda_tree_signals [NODE_DELETED], 0, relative_path);
 }
diff --git a/libgda/gda-xa-transaction.c b/libgda/gda-xa-transaction.c
index eee2371..6511642 100644
--- a/libgda/gda-xa-transaction.c
+++ b/libgda/gda-xa-transaction.c
@@ -89,7 +89,7 @@ gda_xa_transaction_class_init (GdaXaTransactionClass *klass)
 }
 
 static void
-gda_xa_transaction_init (GdaXaTransaction *xa_trans, GdaXaTransactionClass *klass)
+gda_xa_transaction_init (GdaXaTransaction *xa_trans, G_GNUC_UNUSED GdaXaTransactionClass *klass)
 {
 	xa_trans->priv = g_new0 (GdaXaTransactionPrivate, 1);
 	xa_trans->priv->xid.format = 1;
diff --git a/libgda/handlers/gda-handler-boolean.c b/libgda/handlers/gda-handler-boolean.c
index 4d972f5..af2c48f 100644
--- a/libgda/handlers/gda-handler-boolean.c
+++ b/libgda/handlers/gda-handler-boolean.c
@@ -192,7 +192,7 @@ gda_handler_boolean_get_str_from_value (GdaDataHandler *iface, const GValue *val
 }
 
 static GValue *
-gda_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, GType type)
+gda_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerBoolean *hdl;
 	GValue *value;
@@ -210,7 +210,7 @@ gda_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gchar *sql,
 }
 
 static GValue *
-gda_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gchar *str, GType type)
+gda_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gchar *str, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerBoolean *hdl;
 	GValue *value = NULL;
@@ -240,7 +240,7 @@ gda_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gchar *str,
 
 
 static GValue *
-gda_handler_boolean_get_sane_init_value (GdaDataHandler *iface, GType type)
+gda_handler_boolean_get_sane_init_value (GdaDataHandler *iface, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerBoolean *hdl;
 	GValue *value;
diff --git a/libgda/handlers/gda-handler-string.c b/libgda/handlers/gda-handler-string.c
index 95e2639..d49d9f4 100644
--- a/libgda/handlers/gda-handler-string.c
+++ b/libgda/handlers/gda-handler-string.c
@@ -243,7 +243,7 @@ gda_handler_string_get_str_from_value (GdaDataHandler *iface, const GValue *valu
 }
 
 static GValue *
-gda_handler_string_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, GType type)
+gda_handler_string_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerString *hdl;
 	GValue *value = NULL;
@@ -276,7 +276,7 @@ gda_handler_string_get_value_from_sql (GdaDataHandler *iface, const gchar *sql,
 }
 
 static GValue *
-gda_handler_string_get_value_from_str (GdaDataHandler *iface, const gchar *sql, GType type)
+gda_handler_string_get_value_from_str (GdaDataHandler *iface, const gchar *sql, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerString *hdl;
 	GValue *value;
@@ -291,7 +291,7 @@ gda_handler_string_get_value_from_str (GdaDataHandler *iface, const gchar *sql,
 }
 
 static GValue *
-gda_handler_string_get_sane_init_value (GdaDataHandler *iface, GType type)
+gda_handler_string_get_sane_init_value (GdaDataHandler *iface, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerString *hdl;
 	GValue *value;
diff --git a/libgda/handlers/gda-handler-time.c b/libgda/handlers/gda-handler-time.c
index a164395..f100bb8 100644
--- a/libgda/handlers/gda-handler-time.c
+++ b/libgda/handlers/gda-handler-time.c
@@ -823,7 +823,7 @@ make_timestamp (GdaHandlerTime *hdl, GdaTimestamp *timestamp, const gchar *value
 
 /* Makes a GDate from a string like "24-12-2003" */
 static gboolean
-make_date (GdaHandlerTime *hdl, GDate *date, const gchar *value, LocaleSetting *locale)
+make_date (G_GNUC_UNUSED GdaHandlerTime *hdl, GDate *date, const gchar *value, LocaleSetting *locale)
 {
 	gboolean retval = TRUE;
 	gushort nums[3];
@@ -923,7 +923,7 @@ make_date (GdaHandlerTime *hdl, GDate *date, const gchar *value, LocaleSetting *
  * Also works if there is only 0 or 1 digit instead of 2
  */
 static gboolean
-make_time (GdaHandlerTime *hdl, GdaTime *timegda, const gchar *value)
+make_time (G_GNUC_UNUSED GdaHandlerTime *hdl, GdaTime *timegda, const gchar *value)
 {
 	const gchar *ptr;
 
diff --git a/libgda/handlers/gda-handler-type.c b/libgda/handlers/gda-handler-type.c
index a3f21e6..0c9538e 100644
--- a/libgda/handlers/gda-handler-type.c
+++ b/libgda/handlers/gda-handler-type.c
@@ -213,7 +213,7 @@ gda_handler_type_get_str_from_value (GdaDataHandler *iface, const GValue *value)
 }
 
 static GValue *
-gda_handler_type_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, GType type)
+gda_handler_type_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerType *hdl;
 	GValue *value = NULL;
@@ -240,7 +240,7 @@ gda_handler_type_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, GT
 }
 
 static GValue *
-gda_handler_type_get_value_from_str (GdaDataHandler *iface, const gchar *str, GType type)
+gda_handler_type_get_value_from_str (GdaDataHandler *iface, const gchar *str, G_GNUC_UNUSED GType type)
 {
 	GdaHandlerType *hdl;
 	GValue *value;
diff --git a/libgda/providers-support/gda-pstmt.c b/libgda/providers-support/gda-pstmt.c
index 0c7ce50..e1d7ad2 100644
--- a/libgda/providers-support/gda-pstmt.c
+++ b/libgda/providers-support/gda-pstmt.c
@@ -80,7 +80,7 @@ gda_pstmt_class_init (GdaPStmtClass *klass)
 }
 
 static void
-gda_pstmt_init (GdaPStmt *pstmt, GdaPStmtClass *klass)
+gda_pstmt_init (GdaPStmt *pstmt, G_GNUC_UNUSED GdaPStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	pstmt->priv = g_new0 (GdaPStmtPrivate, 1);
diff --git a/libgda/sql-parser/gda-statement-struct-compound.c b/libgda/sql-parser/gda-statement-struct-compound.c
index 886e12c..0a9f90b 100644
--- a/libgda/sql-parser/gda-statement-struct-compound.c
+++ b/libgda/sql-parser/gda-statement-struct-compound.c
@@ -241,7 +241,7 @@ _gda_sql_statement_compound_get_n_cols (GdaSqlStatementCompound *compound, GErro
 }
 
 static gboolean
-gda_sql_statement_compound_check_structure (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_compound_check_structure (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementCompound *compound = (GdaSqlStatementCompound *) stmt;
 	gint nb_cols = -1;
diff --git a/libgda/sql-parser/gda-statement-struct-delete.c b/libgda/sql-parser/gda-statement-struct-delete.c
index d234488..62838fd 100644
--- a/libgda/sql-parser/gda-statement-struct-delete.c
+++ b/libgda/sql-parser/gda-statement-struct-delete.c
@@ -152,7 +152,7 @@ gda_sql_statement_delete_take_condition (GdaSqlStatement *stmt, GdaSqlExpr *cond
 }
 
 static gboolean
-gda_sql_statement_delete_check_structure (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_delete_check_structure (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementDelete *delete = (GdaSqlStatementDelete *) stmt;
 	if (!delete->table) {
diff --git a/libgda/sql-parser/gda-statement-struct-insert.c b/libgda/sql-parser/gda-statement-struct-insert.c
index 12d73f6..c121cb0 100644
--- a/libgda/sql-parser/gda-statement-struct-insert.c
+++ b/libgda/sql-parser/gda-statement-struct-insert.c
@@ -338,7 +338,7 @@ gda_sql_statement_insert_take_select (GdaSqlStatement *stmt, GdaSqlStatement *se
 }
 
 static gboolean
-gda_sql_statement_insert_check_structure (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_insert_check_structure (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementInsert *insert = (GdaSqlStatementInsert *) stmt;
 	gint nb_values;
diff --git a/libgda/sql-parser/gda-statement-struct-select.c b/libgda/sql-parser/gda-statement-struct-select.c
index cd284f6..7c9b724 100644
--- a/libgda/sql-parser/gda-statement-struct-select.c
+++ b/libgda/sql-parser/gda-statement-struct-select.c
@@ -392,7 +392,7 @@ gda_sql_statement_select_take_limits (GdaSqlStatement *stmt, GdaSqlExpr *count,
 }
 
 static gboolean
-gda_sql_statement_select_check_structure (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_select_check_structure (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementSelect *select = (GdaSqlStatementSelect *) stmt;
 	if (!select->expr_list) {
@@ -422,7 +422,7 @@ gda_sql_statement_select_check_structure (GdaSqlAnyPart *stmt, gpointer data, GE
 }
 
 static gboolean
-gda_sql_statement_select_check_validity (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_select_check_validity (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementSelect *select = (GdaSqlStatementSelect *) stmt;
 	gboolean retval = TRUE;
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index d375e73..112ee3e 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -268,7 +268,7 @@ gda_sql_statement_update_take_set_value (GdaSqlStatement *stmt, GValue *fname, G
 }
 
 static gboolean
-gda_sql_statement_update_check_structure (GdaSqlAnyPart *stmt, gpointer data, GError **error)
+gda_sql_statement_update_check_structure (GdaSqlAnyPart *stmt, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	GdaSqlStatementUpdate *update = (GdaSqlStatementUpdate *) stmt;
 
diff --git a/libgda/sql-parser/gda-statement-struct.c b/libgda/sql-parser/gda-statement-struct.c
index aea1658..d4ef6d4 100644
--- a/libgda/sql-parser/gda-statement-struct.c
+++ b/libgda/sql-parser/gda-statement-struct.c
@@ -538,7 +538,7 @@ foreach_check_validity (GdaSqlAnyPart *node, GdaSqlStatementCheckValidityData *d
 }
 
 static gboolean
-gda_sql_expr_check_validity (GdaSqlExpr *expr, GdaSqlStatementCheckValidityData *data, GError **error)
+gda_sql_expr_check_validity (GdaSqlExpr *expr, G_GNUC_UNUSED GdaSqlStatementCheckValidityData *data, G_GNUC_UNUSED GError **error)
 {
 	if (!expr) return TRUE;
 	if (!expr->param_spec) return TRUE;
@@ -886,7 +886,7 @@ gda_sql_statement_check_clean (GdaSqlStatement *stmt)
 }
 
 static gboolean
-foreach_check_clean (GdaSqlAnyPart *node, gpointer data, GError **error)
+foreach_check_clean (GdaSqlAnyPart *node, G_GNUC_UNUSED gpointer data, G_GNUC_UNUSED GError **error)
 {
 	if (!node) return TRUE;
 
@@ -936,7 +936,7 @@ gda_sql_statement_check_structure (GdaSqlStatement *stmt, GError **error)
 }
 
 static gboolean
-foreach_check_struct (GdaSqlAnyPart *node, gpointer data, GError **error)
+foreach_check_struct (GdaSqlAnyPart *node, G_GNUC_UNUSED gpointer data, GError **error)
 {
 	return gda_sql_any_part_check_structure (node, error);
 }
@@ -1407,7 +1407,7 @@ gda_sql_statement_normalize (GdaSqlStatement *stmt, GdaConnection *cnc, GError *
 }
 
 static gboolean
-foreach_normalize (GdaSqlAnyPart *node, GdaConnection *cnc, GError **error)
+foreach_normalize (GdaSqlAnyPart *node, G_GNUC_UNUSED GdaConnection *cnc, GError **error)
 {
 	if (!node) return TRUE;
 
diff --git a/libgda/sqlite/gda-sqlite-blob-op.c b/libgda/sqlite/gda-sqlite-blob-op.c
index 77afc11..d37d0fd 100644
--- a/libgda/sqlite/gda-sqlite-blob-op.c
+++ b/libgda/sqlite/gda-sqlite-blob-op.c
@@ -73,7 +73,7 @@ _gda_sqlite_blob_op_get_type (void)
 }
 
 static void
-gda_sqlite_blob_op_init (GdaSqliteBlobOp *op, GdaSqliteBlobOpClass *klass)
+gda_sqlite_blob_op_init (GdaSqliteBlobOp *op, G_GNUC_UNUSED GdaSqliteBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_SQLITE_BLOB_OP (op));
 
diff --git a/libgda/sqlite/gda-sqlite-ddl.c b/libgda/sqlite/gda-sqlite-ddl.c
index 7369ef5..e394de3 100644
--- a/libgda/sqlite/gda-sqlite-ddl.c
+++ b/libgda/sqlite/gda-sqlite-ddl.c
@@ -229,7 +229,7 @@ _gda_sqlite_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cnc
 
 gchar *
 _gda_sqlite_render_DROP_TABLE (GdaServerProvider *provider, GdaConnection *cnc, 
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -256,7 +256,7 @@ _gda_sqlite_render_DROP_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 _gda_sqlite_render_RENAME_TABLE (GdaServerProvider *provider, GdaConnection *cnc, 
-				 GdaServerOperation *op, GError **error)
+				 GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	gchar *sql = NULL;
@@ -282,7 +282,7 @@ _gda_sqlite_render_RENAME_TABLE (GdaServerProvider *provider, GdaConnection *cnc
 
 gchar *
 _gda_sqlite_render_ADD_COLUMN (GdaServerProvider *provider, GdaConnection *cnc, 
-			      GdaServerOperation *op, GError **error)
+			      GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -351,7 +351,7 @@ _gda_sqlite_render_ADD_COLUMN (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 _gda_sqlite_render_CREATE_INDEX (GdaServerProvider *provider, GdaConnection *cnc, 
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -432,7 +432,7 @@ _gda_sqlite_render_CREATE_INDEX (GdaServerProvider *provider, GdaConnection *cnc
 
 gchar *
 _gda_sqlite_render_DROP_INDEX (GdaServerProvider *provider, GdaConnection *cnc, 
-			     GdaServerOperation *op, GError **error)
+			     GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -458,7 +458,7 @@ _gda_sqlite_render_DROP_INDEX (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 _gda_sqlite_render_CREATE_VIEW (GdaServerProvider *provider, GdaConnection *cnc, 
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -502,7 +502,7 @@ _gda_sqlite_render_CREATE_VIEW (GdaServerProvider *provider, GdaConnection *cnc,
 	
 gchar *
 _gda_sqlite_render_DROP_VIEW (GdaServerProvider *provider, GdaConnection *cnc, 
-			     GdaServerOperation *op, GError **error)
+			     GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
diff --git a/libgda/sqlite/gda-sqlite-handler-boolean.c b/libgda/sqlite/gda-sqlite-handler-boolean.c
index a644e4c..1b49af3 100644
--- a/libgda/sqlite/gda-sqlite-handler-boolean.c
+++ b/libgda/sqlite/gda-sqlite-handler-boolean.c
@@ -192,7 +192,7 @@ gda_sqlite_handler_boolean_get_str_from_value (GdaDataHandler *iface, const GVal
 }
 
 static GValue *
-gda_sqlite_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, GType type)
+gda_sqlite_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gchar *sql, G_GNUC_UNUSED GType type)
 {
 	GdaSqliteHandlerBoolean *hdl;
 	GValue *value;
@@ -210,7 +210,7 @@ gda_sqlite_handler_boolean_get_value_from_sql (GdaDataHandler *iface, const gcha
 }
 
 static GValue *
-gda_sqlite_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gchar *str, GType type)
+gda_sqlite_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gchar *str, G_GNUC_UNUSED GType type)
 {
 	GdaSqliteHandlerBoolean *hdl;
 	GValue *value = NULL;
@@ -230,7 +230,7 @@ gda_sqlite_handler_boolean_get_value_from_str (GdaDataHandler *iface, const gcha
 
 
 static GValue *
-gda_sqlite_handler_boolean_get_sane_init_value (GdaDataHandler *iface, GType type)
+gda_sqlite_handler_boolean_get_sane_init_value (GdaDataHandler *iface, G_GNUC_UNUSED GType type)
 {
 	GdaSqliteHandlerBoolean *hdl;
 	GValue *value;
diff --git a/libgda/sqlite/gda-sqlite-meta.c b/libgda/sqlite/gda-sqlite-meta.c
index 3925ab5..36cc47c 100644
--- a/libgda/sqlite/gda-sqlite-meta.c
+++ b/libgda/sqlite/gda-sqlite-meta.c
@@ -236,7 +236,7 @@ get_statement (InternalStatementItem type, const gchar *schema_name, const gchar
 }
 
 gboolean
-_gda_sqlite_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -255,7 +255,7 @@ _gda_sqlite_meta__info (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *mod_model;
@@ -450,7 +450,7 @@ nocase_str_equal (gconstpointer v1, gconstpointer v2)
 }
 
 gboolean
-_gda_sqlite_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	SqliteConnectionData *cdata;
@@ -506,9 +506,9 @@ _gda_sqlite_meta__udt (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-		      const GValue *udt_catalog, const GValue *udt_schema)
+		      G_GNUC_UNUSED const GValue *udt_catalog, const GValue *udt_schema)
 {
 	SqliteConnectionData *cdata;
 	GdaDataModel *mod_model = NULL;
@@ -542,94 +542,104 @@ _gda_sqlite_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_sqlite_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+			   G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_sqlite_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+			G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			  const GValue *domain_catalog, const GValue *domain_schema)
+_gda_sqlite_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+			  G_GNUC_UNUSED const GValue *domain_schema)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				   G_GNUC_UNUSED GError **error)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				  const GValue *domain_catalog, const GValue *domain_schema, 
-				  const GValue *domain_name)
+_gda_sqlite_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				  G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+				  G_GNUC_UNUSED const GValue *domain_schema,
+				  G_GNUC_UNUSED const GValue *domain_name)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *specific_name)
+_gda_sqlite_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *specific_name)
 {
 	/* feature not supported by SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error)
 {
 	/* FIXME: We need to do something similar to what's done with
 	 * functions and aggregates as there is no pragma or API */
@@ -637,10 +647,11 @@ _gda_sqlite_meta__collations (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			     const GValue *collation_catalog, const GValue *collation_schema, 
-			     const GValue *collation_name_n)
+_gda_sqlite_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *collation_catalog,
+			     G_GNUC_UNUSED const GValue *collation_schema,
+			     G_GNUC_UNUSED const GValue *collation_name_n)
 {
 	/* FIXME: We need to do something similar to what's done with
 	 * functions and aggregates as there is no pragma or API */
@@ -648,8 +659,8 @@ _gda_sqlite_meta_collations (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error)
 {
 	/* FIXME: We need to do something similar to what's done with
 	 * functions and aggregates as there is no pragma or API */
@@ -657,10 +668,10 @@ _gda_sqlite_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				 const GValue *chset_catalog, const GValue *chset_schema, 
-				 const GValue *chset_name_n)
+_gda_sqlite_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error,
+				 G_GNUC_UNUSED const GValue *chset_catalog, G_GNUC_UNUSED const GValue *chset_schema,
+				 G_GNUC_UNUSED const GValue *chset_name_n)
 {
 	/* FIXME: We need to do something similar to what's done with
 	 * functions and aggregates as there is no pragma or API */
@@ -676,9 +687,9 @@ _gda_sqlite_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_sqlite_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *catalog_name, const GValue *schema_name_n)
+			   G_GNUC_UNUSED const GValue *catalog_name, const GValue *schema_name_n)
 {
 	GdaDataModel *model, *tmpmodel;
 	gboolean retval = TRUE;
@@ -841,7 +852,7 @@ fill_tables_views_model (GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *tmpmodel;
@@ -897,9 +908,9 @@ _gda_sqlite_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_sqlite_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error, 
-			       const GValue *table_catalog, const GValue *table_schema, const GValue *table_name_n)
+			       G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema, const GValue *table_name_n)
 {
 	GdaDataModel *tables_model, *views_model;
 	gboolean retval = TRUE;
@@ -1083,7 +1094,7 @@ fill_columns_model (GdaConnection *cnc, SqliteConnectionData *cdata,
 }
 
 gboolean
-_gda_sqlite_meta__columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *mod_model, *tmpmodel;
@@ -1165,9 +1176,9 @@ _gda_sqlite_meta__columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error, 
-			  const GValue *table_catalog, const GValue *table_schema, const GValue *table_name)
+			  G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema, const GValue *table_name)
 {
 	gboolean retval = TRUE;
 	GdaDataModel *mod_model = NULL;
@@ -1191,18 +1202,18 @@ _gda_sqlite_meta_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error)
 {
 	/* FIXME: feature not natively supported by SQLite => parse view's definition ? */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *view_catalog, const GValue *view_schema, 
-			    const GValue *view_name)
+_gda_sqlite_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *view_catalog,
+			    G_GNUC_UNUSED const GValue *view_schema, G_GNUC_UNUSED const GValue *view_name)
 {
 	/* FIXME: feature not natively supported by SQLite => parse view's definition ? */
 	return TRUE;	
@@ -1428,7 +1439,7 @@ fill_constraints_tab_model (GdaConnection *cnc, SqliteConnectionData *cdata, Gda
 }
 
 gboolean
-_gda_sqlite_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *mod_model, *tmpmodel;
@@ -1509,10 +1520,10 @@ _gda_sqlite_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_sqlite_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				  const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
-				  const GValue *constraint_name_n)
+				  G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema,
+				  const GValue *table_name, const GValue *constraint_name_n)
 {
 	gboolean retval = TRUE;
 	GdaDataModel *mod_model = NULL;
@@ -1536,8 +1547,8 @@ _gda_sqlite_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 static gboolean 
-fill_constraints_ref_model (GdaConnection *cnc, SqliteConnectionData *cdata, GdaDataModel *mod_model, 
-			    const GValue *p_table_schema, const GValue *p_table_name, 
+fill_constraints_ref_model (GdaConnection *cnc, G_GNUC_UNUSED SqliteConnectionData *cdata,
+			    GdaDataModel *mod_model, const GValue *p_table_schema, const GValue *p_table_name,
 			    const GValue *constraint_name_n, GError **error)
 {
 	GdaDataModel *tmpmodel;
@@ -1619,7 +1630,7 @@ fill_constraints_ref_model (GdaConnection *cnc, SqliteConnectionData *cdata, Gda
 }
 
 gboolean
-_gda_sqlite_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *mod_model, *tmpmodel;
@@ -1700,9 +1711,9 @@ _gda_sqlite_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				  const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
+				  G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 				  const GValue *constraint_name)
 {
 	gboolean retval = TRUE;
@@ -1919,7 +1930,7 @@ fill_key_columns_model (GdaConnection *cnc, SqliteConnectionData *cdata, GdaData
 }
 
 gboolean
-_gda_sqlite_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	/* iterate through the tables, and each time call fill_constraints_tab_model() 
@@ -2039,9 +2050,9 @@ _gda_sqlite_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_sqlite_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
+			      G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 			      const GValue *constraint_name)
 {
 	gboolean retval = TRUE;
@@ -2066,36 +2077,39 @@ _gda_sqlite_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error)
 {
 	/* FIXME: How to get this ? */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				const GValue *table_catalog, const GValue *table_schema, 
-				const GValue *table_name, const GValue *constraint_name)
+_gda_sqlite_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+				G_GNUC_UNUSED const GValue *table_schema,
+				G_GNUC_UNUSED const GValue *table_name,
+				G_GNUC_UNUSED const GValue *constraint_name)
 {
 	/* FIXME: How to get this ? */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	/* FIXME: How to get this ? */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *table_catalog, const GValue *table_schema, 
-			   const GValue *table_name)
+_gda_sqlite_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			   G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name)
 {
 	/* FIXME: How to get this ? */
 	return TRUE;
@@ -2112,7 +2126,8 @@ _gda_sqlite_meta__routines (GdaServerProvider *prov, GdaConnection *cnc,
 #ifndef HAVE_SQLITE
 static gboolean
 fill_routines (GdaDataModel *mod_model, 
-	       const GValue *rname, const GValue *is_agg, const GValue *rnargs, const GValue *sname, GError **error)
+	       const GValue *rname, const GValue *is_agg, const GValue *rnargs, const GValue *sname,
+	       GError **error)
 {
 	GValue *v0;
 	gboolean retval = TRUE;
@@ -2152,10 +2167,10 @@ fill_routines (GdaDataModel *mod_model,
 #endif
 
 gboolean
-_gda_sqlite_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_sqlite_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *routine_catalog, const GValue *routine_schema, 
-			   const GValue *routine_name_n)
+			   G_GNUC_UNUSED const GValue *routine_catalog,
+			   G_GNUC_UNUSED const GValue *routine_schema, const GValue *routine_name_n)
 {
 	gboolean retval = TRUE;
 	
@@ -2220,72 +2235,79 @@ _gda_sqlite_meta_routines (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_sqlite_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error)
 {
 	/* feature not available in SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *rout_catalog, const GValue *rout_schema, 
-			      const GValue *rout_name)
+_gda_sqlite_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			      G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	/* feature not available in SQLite */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error)
 {
 	/* Routines in SQLite accept any type of value => nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *rout_catalog, const GValue *rout_schema, 
-			      const GValue *rout_name)
+_gda_sqlite_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			      G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	/* Routines in SQLite accept any type of value => nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
-			      const GValue *index_name_n)
+_gda_sqlite_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			      G_GNUC_UNUSED const GValue *table_schema,
+			      G_GNUC_UNUSED const GValue *table_name,
+			      G_GNUC_UNUSED const GValue *index_name_n)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_sqlite_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_sqlite_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			     const GValue *table_catalog, const GValue *table_schema,
-			     const GValue *table_name, const GValue *index_name)
+_gda_sqlite_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			     G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			     G_GNUC_UNUSED const GValue *index_name)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index da70ec0..cbc88b6 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -517,7 +517,7 @@ gda_sqlite_provider_class_init (GdaSqliteProviderClass *klass)
 }
 
 static void
-gda_sqlite_provider_init (GdaSqliteProvider *sqlite_prv, GdaSqliteProviderClass *klass)
+gda_sqlite_provider_init (GdaSqliteProvider *sqlite_prv, G_GNUC_UNUSED GdaSqliteProviderClass *klass)
 {
 	InternalStatementItem i;
 	GdaSqlParser *parser;
@@ -595,7 +595,7 @@ gda_sqlite_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_sqlite_provider_get_name (GdaServerProvider *provider)
+gda_sqlite_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PNAME;
 }
@@ -604,7 +604,7 @@ gda_sqlite_provider_get_name (GdaServerProvider *provider)
  * Get provider's version
  */
 static const gchar *
-gda_sqlite_provider_get_version (GdaServerProvider *provider)
+gda_sqlite_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -615,7 +615,7 @@ gda_sqlite_provider_get_version (GdaServerProvider *provider)
 static gboolean
 gda_sqlite_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
 				     GdaQuarkList *params, GdaQuarkList *auth,
-				     guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				     G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data)
 {
 	gchar *filename = NULL;
 	const gchar *dirname = NULL, *dbname = NULL;
@@ -936,8 +936,8 @@ gda_sqlite_provider_get_database (GdaServerProvider *provider, GdaConnection *cn
  * Support operation request
  */
 static gboolean
-gda_sqlite_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-					GdaServerOperationType type, GdaSet *options)
+gda_sqlite_provider_supports_operation (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc,
+					GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options)
 {
         switch (type) {
         case GDA_SERVER_OPERATION_CREATE_DB:
@@ -964,9 +964,9 @@ gda_sqlite_provider_supports_operation (GdaServerProvider *provider, GdaConnecti
  * Create operation request
  */
 static GdaServerOperation *
-gda_sqlite_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
+gda_sqlite_provider_create_operation (GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc,
 				      GdaServerOperationType type,
-				      GdaSet *options, GError **error)
+				      G_GNUC_UNUSED GdaSet *options, GError **error)
 {
         gchar *file;
         GdaServerOperation *op;
@@ -1086,8 +1086,8 @@ gda_sqlite_provider_render_operation (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_sqlite_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-                                      GdaServerOperation *op, guint *task_id, GdaServerProviderAsyncCallback async_cb, 
-				       gpointer cb_data, GError **error)
+                                      GdaServerOperation *op, G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				       G_GNUC_UNUSED gpointer cb_data, GError **error)
 {
         GdaServerOperationType optype;
 
@@ -1240,7 +1240,7 @@ gda_sqlite_provider_perform_operation (GdaServerProvider *provider, GdaConnectio
  */
 static gboolean
 gda_sqlite_provider_begin_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-				       const gchar *name, GdaTransactionIsolation level,
+				       const gchar *name, G_GNUC_UNUSED GdaTransactionIsolation level,
 				       GError **error)
 {
 	gboolean status = TRUE;
@@ -1449,7 +1449,7 @@ gda_sqlite_provider_get_data_handler (GdaServerProvider *provider, GdaConnection
  * Get default DBMS type request
  */
 static const gchar*
-gda_sqlite_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConnection *cnc, GType type)
+gda_sqlite_provider_get_default_dbms_type (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc, GType type)
 {
 	if ((type == G_TYPE_INT64) ||
 	    (type == G_TYPE_INT) ||
@@ -1496,7 +1496,7 @@ gda_sqlite_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConne
  * Create parser request
  */
 static GdaSqlParser *
-gda_sqlite_provider_create_parser (GdaServerProvider *provider, GdaConnection *cnc)
+gda_sqlite_provider_create_parser (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc)
 {
 	return (GdaSqlParser*) g_object_new (GDA_TYPE_SQL_PARSER, "tokenizer-flavour", GDA_SQL_PARSER_FLAVOUR_SQLITE, NULL);
 }
@@ -2117,7 +2117,7 @@ real_prepare (GdaServerProvider *provider, GdaConnection *cnc, GdaStatement *stm
 
 #define MAKE_LAST_INSERTED_SET_ID "__gda"
 static void
-lir_stmt_reset_cb (GdaStatement *stmt, gpointer data)
+lir_stmt_reset_cb (GdaStatement *stmt, G_GNUC_UNUSED gpointer data)
 {
 	/* get rid of the SELECT statement used in make_last_inserted_set() */
 	g_object_set_data ((GObject*) stmt, MAKE_LAST_INSERTED_SET_ID, NULL);
@@ -3150,7 +3150,7 @@ gda_sqlite_free_cnc_data (SqliteConnectionData *cdata)
 }
 
 static gchar *
-gda_sqlite_provider_escape_string (GdaServerProvider *provider, GdaConnection *cnc, const gchar *string)
+gda_sqlite_provider_escape_string (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc, const gchar *string)
 {
 	gchar *ptr, *ret, *retptr;
 	gint size;
@@ -3190,7 +3190,7 @@ gda_sqlite_provider_escape_string (GdaServerProvider *provider, GdaConnection *c
 }
 
 gchar *
-gda_sqlite_provider_unescape_string (GdaServerProvider *provider, GdaConnection *cnc, const gchar *string)
+gda_sqlite_provider_unescape_string (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc, const gchar *string)
 {
 	glong total;
 	gchar *ptr;
diff --git a/libgda/sqlite/gda-sqlite-pstmt.c b/libgda/sqlite/gda-sqlite-pstmt.c
index 20d0496..63a6bf8 100644
--- a/libgda/sqlite/gda-sqlite-pstmt.c
+++ b/libgda/sqlite/gda-sqlite-pstmt.c
@@ -74,7 +74,7 @@ gda_sqlite_pstmt_class_init (GdaSqlitePStmtClass *klass)
 }
 
 static void
-gda_sqlite_pstmt_init (GdaSqlitePStmt *pstmt, GdaSqlitePStmtClass *klass)
+gda_sqlite_pstmt_init (GdaSqlitePStmt *pstmt, G_GNUC_UNUSED GdaSqlitePStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	pstmt->sqlite_stmt = NULL;
diff --git a/libgda/sqlite/gda-sqlite-recordset.c b/libgda/sqlite/gda-sqlite-recordset.c
index 8a19b13..b0dc424 100644
--- a/libgda/sqlite/gda-sqlite-recordset.c
+++ b/libgda/sqlite/gda-sqlite-recordset.c
@@ -61,7 +61,7 @@ static GObjectClass *parent_class = NULL;
  */
 static void
 gda_sqlite_recordset_init (GdaSqliteRecordset *recset,
-			   GdaSqliteRecordsetClass *klass)
+			   G_GNUC_UNUSED GdaSqliteRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_SQLITE_RECORDSET (recset));
 	recset->priv = g_new0 (GdaSqliteRecordsetPrivate, 1);
@@ -610,7 +610,7 @@ gda_sqlite_recordset_fetch_random (GdaDataSelect *model, GdaRow **prow, gint row
  * never keeps a reference to it). Before a new #GdaRow gets created, the previous one, if set, is discarded.
  */
 static gboolean
-gda_sqlite_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_sqlite_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, G_GNUC_UNUSED gint rownum, GError **error)
 {
 	GdaSqliteRecordset *imodel = (GdaSqliteRecordset*) model;
 
diff --git a/libgda/sqlite/gda-sqlite-util.c b/libgda/sqlite/gda-sqlite-util.c
index 64045c5..822b33a 100644
--- a/libgda/sqlite/gda-sqlite-util.c
+++ b/libgda/sqlite/gda-sqlite-util.c
@@ -236,7 +236,7 @@ sqlite_remove_quotes (gchar *str)
 }
 
 gchar *
-_gda_sqlite_identifier_quote (GdaServerProvider *provider, GdaConnection *cnc,
+_gda_sqlite_identifier_quote (G_GNUC_UNUSED GdaServerProvider *provider, GdaConnection *cnc,
 			     const gchar *id,
 			     gboolean for_meta_store, gboolean force_quotes)
 {
diff --git a/libgda/sqlite/virtual/gda-vconnection-data-model.c b/libgda/sqlite/virtual/gda-vconnection-data-model.c
index da77e6f..d29c4c5 100644
--- a/libgda/sqlite/virtual/gda-vconnection-data-model.c
+++ b/libgda/sqlite/virtual/gda-vconnection-data-model.c
@@ -70,7 +70,7 @@ gda_vconnection_data_model_class_init (GdaVconnectionDataModelClass *klass)
 }
 
 static void
-gda_vconnection_data_model_init (GdaVconnectionDataModel *cnc, GdaVconnectionDataModelClass *klass)
+gda_vconnection_data_model_init (GdaVconnectionDataModel *cnc, G_GNUC_UNUSED GdaVconnectionDataModelClass *klass)
 {
 	cnc->priv = g_new (GdaVconnectionDataModelPrivate, 1);
 	cnc->priv->table_data_list = NULL;
@@ -130,8 +130,8 @@ gda_vconnection_data_model_get_type (void)
 static void
 gda_vconnection_data_model_set_property (GObject *object,
 					 guint param_id,
-					 const GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED const GValue *value,
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVconnectionDataModel *cnc;
 
@@ -147,8 +147,8 @@ gda_vconnection_data_model_set_property (GObject *object,
 static void
 gda_vconnection_data_model_get_property (GObject *object,
 					 guint param_id,
-					 GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED GValue *value,
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVconnectionDataModel *cnc;
 
diff --git a/libgda/sqlite/virtual/gda-vconnection-hub.c b/libgda/sqlite/virtual/gda-vconnection-hub.c
index 76700b1..a3b2f27 100644
--- a/libgda/sqlite/virtual/gda-vconnection-hub.c
+++ b/libgda/sqlite/virtual/gda-vconnection-hub.c
@@ -88,7 +88,7 @@ gda_vconnection_hub_class_init (GdaVconnectionHubClass *klass)
 }
 
 static void
-gda_vconnection_hub_init (GdaVconnectionHub *cnc, GdaVconnectionHubClass *klass)
+gda_vconnection_hub_init (GdaVconnectionHub *cnc, G_GNUC_UNUSED GdaVconnectionHubClass *klass)
 {
 	cnc->priv = g_new (GdaVconnectionHubPrivate, 1);
 	cnc->priv->hub_connections = NULL;
@@ -146,8 +146,8 @@ gda_vconnection_hub_get_type (void)
 static void
 gda_vconnection_hub_set_property (GObject *object,
 					 guint param_id,
-					 const GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED const GValue *value,
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVconnectionHub *cnc;
 
@@ -163,8 +163,8 @@ gda_vconnection_hub_set_property (GObject *object,
 static void
 gda_vconnection_hub_get_property (GObject *object,
 					 guint param_id,
-					 GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED GValue *value,
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVconnectionHub *cnc;
 
@@ -489,7 +489,7 @@ get_complete_table_name (HubConnection *hc, const GValue *table_name)
 }
 
 static void
-meta_changed_cb (GdaMetaStore *store, GSList *changes, HubConnection *hc)
+meta_changed_cb (G_GNUC_UNUSED GdaMetaStore *store, GSList *changes, HubConnection *hc)
 {
 	GSList *list;
 	for (list = changes; list; list = list->next) {
diff --git a/libgda/sqlite/virtual/gda-virtual-connection.c b/libgda/sqlite/virtual/gda-virtual-connection.c
index fab51be..f545a27 100644
--- a/libgda/sqlite/virtual/gda-virtual-connection.c
+++ b/libgda/sqlite/virtual/gda-virtual-connection.c
@@ -72,7 +72,7 @@ gda_virtual_connection_class_init (GdaVirtualConnectionClass *klass)
 }
 
 static void
-gda_virtual_connection_init (GdaVirtualConnection *vcnc, GdaVirtualConnectionClass *klass)
+gda_virtual_connection_init (GdaVirtualConnection *vcnc, G_GNUC_UNUSED GdaVirtualConnectionClass *klass)
 {
 	vcnc->priv = g_new0 (GdaVirtualConnectionPrivate, 1);
 	vcnc->priv->v_provider_data = NULL;
diff --git a/libgda/sqlite/virtual/gda-virtual-provider.c b/libgda/sqlite/virtual/gda-virtual-provider.c
index a4822ae..678a882 100644
--- a/libgda/sqlite/virtual/gda-virtual-provider.c
+++ b/libgda/sqlite/virtual/gda-virtual-provider.c
@@ -76,7 +76,7 @@ gda_virtual_provider_class_init (GdaVirtualProviderClass *klass)
 }
 
 static void
-gda_virtual_provider_init (GdaVirtualProvider *vprov, GdaVirtualProviderClass *klass)
+gda_virtual_provider_init (GdaVirtualProvider *vprov, G_GNUC_UNUSED GdaVirtualProviderClass *klass)
 {
 	vprov->priv = g_new (GdaVirtualProviderPrivate, 1);
 }
@@ -136,8 +136,8 @@ gda_virtual_provider_get_type (void)
 static void
 gda_virtual_provider_set_property (GObject *object,
 				   guint param_id,
-				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED const GValue *value,
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVirtualProvider *prov;
 
@@ -153,8 +153,8 @@ gda_virtual_provider_set_property (GObject *object,
 static void
 gda_virtual_provider_get_property (GObject *object,
 				 guint param_id,
-				 GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GValue *value,
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVirtualProvider *prov;
 
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 972041e..5d1b446 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -96,7 +96,7 @@ gda_vprovider_data_model_class_init (GdaVproviderDataModelClass *klass)
 }
 
 static void
-gda_vprovider_data_model_init (GdaVproviderDataModel *prov, GdaVproviderDataModelClass *klass)
+gda_vprovider_data_model_init (GdaVproviderDataModel *prov, G_GNUC_UNUSED GdaVproviderDataModelClass *klass)
 {
 	prov->priv = g_new (GdaVproviderDataModelPrivate, 1);
 }
@@ -148,8 +148,8 @@ gda_vprovider_data_model_get_type (void)
 static void
 gda_vprovider_data_model_set_property (GObject *object,
 				       guint param_id,
-				       const GValue *value,
-				       GParamSpec *pspec)
+				       G_GNUC_UNUSED const GValue *value,
+				       G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVproviderDataModel *prov;
 
@@ -165,8 +165,8 @@ gda_vprovider_data_model_set_property (GObject *object,
 static void
 gda_vprovider_data_model_get_property (GObject *object,
 				       guint param_id,
-				       GValue *value,
-				       GParamSpec *pspec)
+				       G_GNUC_UNUSED GValue *value,
+				       G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVproviderDataModel *prov;
 
@@ -253,7 +253,7 @@ gda_vprovider_data_model_create_connection (GdaServerProvider *provider)
 static gboolean
 gda_vprovider_data_model_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
 					  GdaQuarkList *params, GdaQuarkList *auth,
-					  guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+					  G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data)
 {
 	GdaQuarkList *m_params;
 
@@ -296,7 +296,7 @@ gda_vprovider_data_model_open_connection (GdaServerProvider *provider, GdaConnec
 }
 
 static void
-cnc_close_foreach_func (GdaDataModel *model, const gchar *table_name, GdaVconnectionDataModel *cnc)
+cnc_close_foreach_func (G_GNUC_UNUSED GdaDataModel *model, const gchar *table_name, GdaVconnectionDataModel *cnc)
 {
 	/*g_print ("---- FOREACH: Removing virtual table '%s'\n", table_name);*/
 	if (! gda_vconnection_data_model_remove (cnc, table_name, NULL))
@@ -316,7 +316,7 @@ gda_vprovider_data_model_close_connection (GdaServerProvider *provider, GdaConne
 }
 
 static const gchar *
-gda_vprovider_data_model_get_name (GdaServerProvider *provider)
+gda_vprovider_data_model_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return "Virtual";
 }
@@ -697,7 +697,7 @@ virtualRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid)
 }
 
 static int
-virtualFilter (sqlite3_vtab_cursor *pVtabCursor, int idxNum, const char *idxStr, int argc, sqlite3_value **argv)
+virtualFilter (sqlite3_vtab_cursor *pVtabCursor, int idxNum, G_GNUC_UNUSED const char *idxStr, G_GNUC_UNUSED int argc, G_GNUC_UNUSED sqlite3_value **argv)
 {
 	VirtualCursor *cursor = (VirtualCursor*) pVtabCursor;
 
@@ -715,7 +715,7 @@ virtualFilter (sqlite3_vtab_cursor *pVtabCursor, int idxNum, const char *idxStr,
 }
 
 static int
-virtualBestIndex (sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo)
+virtualBestIndex (G_GNUC_UNUSED sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo)
 {
 	TRACE ();
 	
@@ -841,21 +841,21 @@ virtualBegin (sqlite3_vtab *tab)
 }
 
 static int
-virtualSync (sqlite3_vtab *tab)
+virtualSync (G_GNUC_UNUSED sqlite3_vtab *tab)
 {
 	TRACE ();
 	return SQLITE_OK;
 }
 
 static int
-virtualCommit (sqlite3_vtab *tab)
+virtualCommit (G_GNUC_UNUSED sqlite3_vtab *tab)
 {
 	TRACE ();
 	return SQLITE_OK;
 }
 
 static int
-virtualRollback (sqlite3_vtab *tab)
+virtualRollback (G_GNUC_UNUSED sqlite3_vtab *tab)
 {	
 	TRACE ();
 	return SQLITE_OK;
diff --git a/libgda/sqlite/virtual/gda-vprovider-hub.c b/libgda/sqlite/virtual/gda-vprovider-hub.c
index abc14cc..5bab983 100644
--- a/libgda/sqlite/virtual/gda-vprovider-hub.c
+++ b/libgda/sqlite/virtual/gda-vprovider-hub.c
@@ -79,7 +79,7 @@ gda_vprovider_hub_class_init (GdaVproviderHubClass *klass)
 }
 
 static void
-gda_vprovider_hub_init (GdaVproviderHub *prov, GdaVproviderHubClass *klass)
+gda_vprovider_hub_init (GdaVproviderHub *prov, G_GNUC_UNUSED GdaVproviderHubClass *klass)
 {
 	prov->priv = g_new (GdaVproviderHubPrivate, 1);
 }
@@ -131,8 +131,8 @@ gda_vprovider_hub_get_type (void)
 static void
 gda_vprovider_hub_set_property (GObject *object,
 				       guint param_id,
-				       const GValue *value,
-				       GParamSpec *pspec)
+				       G_GNUC_UNUSED const GValue *value,
+				       G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVproviderHub *prov;
 
@@ -148,8 +148,8 @@ gda_vprovider_hub_set_property (GObject *object,
 static void
 gda_vprovider_hub_get_property (GObject *object,
 				       guint param_id,
-				       GValue *value,
-				       GParamSpec *pspec)
+				       G_GNUC_UNUSED GValue *value,
+				       G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaVproviderHub *prov;
 
@@ -203,7 +203,7 @@ gda_vprovider_hub_open_connection (GdaServerProvider *provider, GdaConnection *c
 }
 
 static void
-cnc_close_foreach_func (GdaConnection *cnc, const gchar *ns, GdaVconnectionHub *hub)
+cnc_close_foreach_func (GdaConnection *cnc, G_GNUC_UNUSED const gchar *ns, GdaVconnectionHub *hub)
 {
 	/*g_print ("---- FOREACH: Removing connection %p ('%s') from HUB\n", cnc, ns);*/
 	if (! gda_vconnection_hub_remove (hub, cnc, NULL))
diff --git a/libgda/thread-wrapper/gda-thread-blob-op.c b/libgda/thread-wrapper/gda-thread-blob-op.c
index b314bc2..da6daa9 100644
--- a/libgda/thread-wrapper/gda-thread-blob-op.c
+++ b/libgda/thread-wrapper/gda-thread-blob-op.c
@@ -71,7 +71,7 @@ _gda_thread_blob_op_get_type (void)
 
 static void
 gda_thread_blob_op_init (GdaThreadBlobOp *op,
-			   GdaThreadBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaThreadBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_THREAD_BLOB_OP (op));
 
@@ -131,7 +131,7 @@ _gda_thread_blob_op_new (GdaThreadWrapper *wrapper, GdaBlobOp *op)
  * Virtual functions
  */
 static glong *
-sub_thread_blob_op_get_length (GdaBlobOp *wrapped_op, GError **error)
+sub_thread_blob_op_get_length (GdaBlobOp *wrapped_op, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	glong *retptr;
@@ -170,7 +170,7 @@ typedef struct {
 } ThreadData;
 
 static glong *
-sub_thread_blob_op_read (ThreadData *td, GError **error)
+sub_thread_blob_op_read (ThreadData *td, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	glong *retptr;
@@ -208,7 +208,7 @@ gda_thread_blob_op_read (GdaBlobOp *op, GdaBlob *blob, glong offset, glong size)
 }
 
 static glong *
-sub_thread_blob_op_write (ThreadData *td, GError **error)
+sub_thread_blob_op_write (ThreadData *td, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	glong *retptr;
diff --git a/libgda/thread-wrapper/gda-thread-meta.c b/libgda/thread-wrapper/gda-thread-meta.c
index e2a643c..a8dfcef 100644
--- a/libgda/thread-wrapper/gda-thread-meta.c
+++ b/libgda/thread-wrapper/gda-thread-meta.c
@@ -141,7 +141,7 @@ typedef struct {
  * Meta initialization
  */
 void
-_gda_thread_provider_meta_init (GdaServerProvider *provider)
+_gda_thread_provider_meta_init (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	/* nothing to be done */
 }
@@ -156,7 +156,7 @@ sub_thread__gda_thread_meta__info (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__info, prov, cnc, store, context, error);
@@ -172,7 +172,7 @@ sub_thread__gda_thread_meta__btypes (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__btypes, prov, cnc, store, context, error);
@@ -186,7 +186,7 @@ sub_thread__gda_thread_meta__udt (BasicThreadData *data, GError **error)
 	sub_thread_basic_core (PROV_CLASS (data->prov)->meta_funcs._udt, "_udt");
 }
 gboolean
-_gda_thread_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__udt, prov, cnc, store, context, error);
@@ -199,7 +199,7 @@ sub_thread__gda_thread_meta_udt (DetailedThreadData *data, GError **error)
 	sub_thread_detailed2_core (PROV_CLASS (data->prov)->meta_funcs.udt, "_udt");
 }
 gboolean
-_gda_thread_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		      const GValue *udt_catalog, const GValue *udt_schema)
 {
@@ -217,7 +217,7 @@ sub_thread__gda_thread_meta__udt_cols (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__udt_cols, prov, cnc, store, context, error);
@@ -231,7 +231,7 @@ sub_thread__gda_thread_meta_udt_cols (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
 {
@@ -247,7 +247,7 @@ sub_thread__gda_thread_meta__enums (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__enums, prov, cnc, store, context, error);
@@ -261,7 +261,7 @@ sub_thread__gda_thread_meta_enums (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
 {
@@ -277,7 +277,7 @@ sub_thread__gda_thread_meta__domains (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__domains, prov, cnc, store, context, error);
@@ -291,7 +291,7 @@ sub_thread__gda_thread_meta_domains (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			  const GValue *domain_catalog, const GValue *domain_schema)
 {
@@ -307,7 +307,7 @@ sub_thread__gda_thread_meta__constraints_dom (BasicThreadData *data, GError **er
 }
 
 gboolean
-_gda_thread_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__constraints_dom, prov, cnc, store, context, error);
@@ -321,7 +321,7 @@ sub_thread__gda_thread_meta_constraints_dom (DetailedThreadData *data, GError **
 }
 
 gboolean
-_gda_thread_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				  const GValue *domain_catalog, const GValue *domain_schema, 
 				  const GValue *domain_name)
@@ -338,7 +338,7 @@ sub_thread__gda_thread_meta__el_types (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__el_types, prov, cnc, store, context, error);
@@ -352,7 +352,7 @@ sub_thread__gda_thread_meta_el_types (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *specific_name)
 {
@@ -368,7 +368,7 @@ sub_thread__gda_thread_meta__collations (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__collations, prov, cnc, store, context, error);
@@ -382,7 +382,7 @@ sub_thread__gda_thread_meta_collations (DetailedThreadData *data, GError **error
 }
 
 gboolean
-_gda_thread_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *collation_catalog, const GValue *collation_schema, 
 			     const GValue *collation_name_n)
@@ -399,7 +399,7 @@ sub_thread__gda_thread_meta__character_sets (BasicThreadData *data, GError **err
 }
 
 gboolean
-_gda_thread_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__character_sets, prov, cnc, store, context, error);
@@ -413,7 +413,7 @@ sub_thread__gda_thread_meta_character_sets (DetailedThreadData *data, GError **e
 }
 
 gboolean
-_gda_thread_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				 const GValue *chset_catalog, const GValue *chset_schema, 
 				 const GValue *chset_name_n)
@@ -431,7 +431,7 @@ sub_thread__gda_thread_meta__schemata (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__schemata, prov, cnc, store, context, error);
@@ -445,7 +445,7 @@ sub_thread__gda_thread_meta_schemata (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			   const GValue *catalog_name, const GValue *schema_name_n)
 {
@@ -461,7 +461,7 @@ sub_thread__gda_thread_meta__tables_views (BasicThreadData *data, GError **error
 }
 
 gboolean
-_gda_thread_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__tables_views, prov, cnc, store, context, error);
@@ -475,7 +475,7 @@ sub_thread__gda_thread_meta_tables_views (DetailedThreadData *data, GError **err
 }
 
 gboolean
-_gda_thread_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			       const GValue *table_catalog, const GValue *table_schema, 
 			       const GValue *table_name_n)
@@ -492,7 +492,7 @@ sub_thread__gda_thread_meta__columns (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__columns, prov, cnc, store, context, error);
@@ -506,7 +506,7 @@ sub_thread__gda_thread_meta_columns (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			  const GValue *table_catalog, const GValue *table_schema, 
 			  const GValue *table_name)
@@ -523,7 +523,7 @@ sub_thread__gda_thread_meta__view_cols (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__view_cols, prov, cnc, store, context, error);
@@ -537,7 +537,7 @@ sub_thread__gda_thread_meta_view_cols (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			    const GValue *view_catalog, const GValue *view_schema, 
 			    const GValue *view_name)
@@ -554,7 +554,7 @@ sub_thread__gda_thread_meta__constraints_tab (BasicThreadData *data, GError **er
 }
 
 gboolean
-_gda_thread_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__constraints_tab, prov, cnc, store, context, error);
@@ -568,7 +568,7 @@ sub_thread__gda_thread_meta_constraints_tab (DetailedThreadData *data, GError **
 }
 
 gboolean
-_gda_thread_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 				  const GValue *table_catalog, const GValue *table_schema, 
 				  const GValue *table_name, const GValue *constraint_name_n)
@@ -585,7 +585,7 @@ sub_thread__gda_thread_meta__constraints_ref (BasicThreadData *data, GError **er
 }
 
 gboolean
-_gda_thread_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__constraints_ref, prov, cnc, store, context, error);
@@ -599,7 +599,7 @@ sub_thread__gda_thread_meta_constraints_ref (DetailedThreadData *data, GError **
 }
 
 gboolean
-_gda_thread_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				  const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
 				  const GValue *constraint_name)
@@ -616,7 +616,7 @@ sub_thread__gda_thread_meta__key_columns (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__key_columns, prov, cnc, store, context, error);
@@ -630,7 +630,7 @@ sub_thread__gda_thread_meta_key_columns (DetailedThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *table_catalog, const GValue *table_schema, 
 			      const GValue *table_name, const GValue *constraint_name)
@@ -647,7 +647,7 @@ sub_thread__gda_thread_meta__check_columns (BasicThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__check_columns, prov, cnc, store, context, error);
@@ -661,7 +661,7 @@ sub_thread__gda_thread_meta_check_columns (DetailedThreadData *data, GError **er
 }
 
 gboolean
-_gda_thread_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				const GValue *table_catalog, const GValue *table_schema, 
 				const GValue *table_name, const GValue *constraint_name)
@@ -678,7 +678,7 @@ sub_thread__gda_thread_meta__triggers (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__triggers, prov, cnc, store, context, error);
@@ -692,7 +692,7 @@ sub_thread__gda_thread_meta_triggers (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *table_catalog, const GValue *table_schema, 
 			   const GValue *table_name)
@@ -709,7 +709,7 @@ sub_thread__gda_thread_meta__routines (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__routines, prov, cnc, store, context, error);
@@ -723,7 +723,7 @@ sub_thread__gda_thread_meta_routines (DetailedThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *routine_catalog, const GValue *routine_schema, 
 			   const GValue *routine_name_n)
@@ -740,7 +740,7 @@ sub_thread__gda_thread_meta__routine_col (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__routine_col, prov, cnc, store, context, error);
@@ -754,7 +754,7 @@ sub_thread__gda_thread_meta_routine_col (DetailedThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *rout_catalog, const GValue *rout_schema, 
 			      const GValue *rout_name)
@@ -771,7 +771,7 @@ sub_thread__gda_thread_meta__routine_par (BasicThreadData *data, GError **error)
 }
 
 gboolean
-_gda_thread_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__routine_par, prov, cnc, store, context, error);
@@ -785,7 +785,7 @@ sub_thread__gda_thread_meta_routine_par (DetailedThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_thread_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *rout_catalog, const GValue *rout_schema, 
 			      const GValue *rout_name)
@@ -802,7 +802,7 @@ sub_thread__gda_thread_meta__indexes_tab (DetailedThreadData *data, GError **err
 }
 
 gboolean
-_gda_thread_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
+_gda_thread_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__indexes_tab, prov, cnc, store, context, error);
@@ -816,7 +816,7 @@ sub_thread__gda_thread_meta_indexes_tab (DetailedThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
+_gda_thread_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 			      const GValue *index_name_n)
@@ -833,7 +833,7 @@ sub_thread__gda_thread_meta__index_cols (DetailedThreadData *data, GError **erro
 }
 
 gboolean
-_gda_thread_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc,
+_gda_thread_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	main_thread_basic_core (sub_thread__gda_thread_meta__index_cols, prov, cnc, store, context, error);
@@ -847,7 +847,7 @@ sub_thread__gda_thread_meta_index_cols (DetailedThreadData *data, GError **error
 }
 
 gboolean
-_gda_thread_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc,
+_gda_thread_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *table_catalog, const GValue *table_schema,
 			     const GValue *table_name, const GValue *index_name)
diff --git a/libgda/thread-wrapper/gda-thread-provider.c b/libgda/thread-wrapper/gda-thread-provider.c
index bc5d675..ad66075 100644
--- a/libgda/thread-wrapper/gda-thread-provider.c
+++ b/libgda/thread-wrapper/gda-thread-provider.c
@@ -257,7 +257,7 @@ gda_thread_provider_class_init (GdaThreadProviderClass *klass)
 }
 
 static void
-gda_thread_provider_init (GdaThreadProvider *thread_prv, GdaThreadProviderClass *klass)
+gda_thread_provider_init (GdaThreadProvider *thread_prv, G_GNUC_UNUSED GdaThreadProviderClass *klass)
 {
 	thread_prv->priv = g_new0 (GdaThreadProviderPrivate, 1);
 	thread_prv->priv->prov_wrappers = g_hash_table_new_full (g_str_hash, g_str_equal,
@@ -309,7 +309,7 @@ check_cnc_closed (GdaConnection *cnc, ThreadConnectionData *cdata)
  * Get provider name request
  */
 static const gchar *
-gda_thread_provider_get_name (GdaServerProvider *provider)
+gda_thread_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return "ThreadWrapper";
 }
@@ -318,7 +318,7 @@ gda_thread_provider_get_name (GdaServerProvider *provider)
  * Get provider's version, no need to change this
  */
 static const gchar *
-gda_thread_provider_get_version (GdaServerProvider *provider)
+gda_thread_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -374,8 +374,9 @@ static void setup_signals (GdaConnection *cnc, ThreadConnectionData *cdata);
 
 static gboolean
 gda_thread_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
-				     GdaQuarkList *params, GdaQuarkList *auth,
-				     guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				     GdaQuarkList *params, G_GNUC_UNUSED GdaQuarkList *auth,
+				     G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				     G_GNUC_UNUSED gpointer cb_data)
 {
 	GdaThreadWrapper *wr = NULL;
 	gboolean wr_created = FALSE;
@@ -528,9 +529,10 @@ _gda_thread_provider_handle_virtual_connection (GdaThreadProvider *provider, Gda
 }
 
 static void
-sub_cnc_error_cb (GdaThreadWrapper *wrapper, GdaConnection *sub_cnc, const gchar *signal,
-		  gint n_param_values, const GValue *param_values,
-		  gpointer gda_reserved, GdaConnection *wrapper_cnc)
+sub_cnc_error_cb (G_GNUC_UNUSED GdaThreadWrapper *wrapper, G_GNUC_UNUSED GdaConnection *sub_cnc,
+		  G_GNUC_UNUSED const gchar *signal,
+		  gint n_param_values, const GValue *param_values, G_GNUC_UNUSED gpointer gda_reserved,
+		  GdaConnection *wrapper_cnc)
 {
 	GdaConnectionEvent *ev;
 	g_assert (n_param_values == 1);
@@ -540,17 +542,19 @@ sub_cnc_error_cb (GdaThreadWrapper *wrapper, GdaConnection *sub_cnc, const gchar
 }
 
 static void
-sub_cnc_transaction_status_changed_cb (GdaThreadWrapper *wrapper, GdaConnection *sub_cnc, const gchar *signal,
-				       gint n_param_values, const GValue *param_values,
-				       gpointer gda_reserved, GdaConnection *wrapper_cnc)
+sub_cnc_transaction_status_changed_cb (G_GNUC_UNUSED GdaThreadWrapper *wrapper, GdaConnection *sub_cnc,
+				       G_GNUC_UNUSED const gchar *signal, G_GNUC_UNUSED gint n_param_values,
+				       G_GNUC_UNUSED const GValue *param_values,
+				       G_GNUC_UNUSED gpointer gda_reserved, GdaConnection *wrapper_cnc)
 {
 	_gda_connection_force_transaction_status (wrapper_cnc, sub_cnc);
 }
 
 static void
-sub_cnc_closed_cb (GdaThreadWrapper *wrapper, GdaConnection *sub_cnc, const gchar *signal,
-		   gint n_param_values, const GValue *param_values,
-		   gpointer gda_reserved, GdaConnection *wrapper_cnc)
+sub_cnc_closed_cb (G_GNUC_UNUSED GdaThreadWrapper *wrapper, G_GNUC_UNUSED GdaConnection *sub_cnc,
+		   G_GNUC_UNUSED const gchar *signal, G_GNUC_UNUSED gint n_param_values,
+		   G_GNUC_UNUSED const GValue *param_values, G_GNUC_UNUSED gpointer gda_reserved,
+		   GdaConnection *wrapper_cnc)
 {
 	ThreadConnectionData *cdata;
 	cdata = (ThreadConnectionData*) gda_connection_internal_get_provider_data (wrapper_cnc);
@@ -595,7 +599,7 @@ typedef struct {
 } CncProvData;
 
 static gpointer
-sub_thread_close_connection (CncProvData *data, GError **error)
+sub_thread_close_connection (CncProvData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	gboolean retval;
@@ -637,7 +641,7 @@ gda_thread_provider_close_connection (GdaServerProvider *provider, GdaConnection
  */
 
 static const gchar *
-sub_thread_get_server_version (CncProvData *data, GError **error)
+sub_thread_get_server_version (CncProvData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	const gchar *retval;
@@ -678,7 +682,7 @@ gda_thread_provider_get_server_version (GdaServerProvider *provider, GdaConnecti
  * Returns the database name as a string, which should be stored in @cnc's associated ThreadConnectionData structure
  */
 static const gchar *
-sub_thread_get_database (CncProvData *data, GError **error)
+sub_thread_get_database (CncProvData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	const gchar *retval;
@@ -733,7 +737,7 @@ typedef struct {
 } SupportsOperationData;
 
 static gpointer
-sub_thread_supports_operation (SupportsOperationData *data, GError **error)
+sub_thread_supports_operation (SupportsOperationData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	gboolean retval;
@@ -746,7 +750,8 @@ sub_thread_supports_operation (SupportsOperationData *data, GError **error)
 
 static gboolean
 gda_thread_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-					GdaServerOperationType type, GdaSet *options)
+					G_GNUC_UNUSED GdaServerOperationType type,
+					G_GNUC_UNUSED GdaSet *options)
 {
 	ThreadConnectionData *cdata;
 	SupportsOperationData wdata;
@@ -903,8 +908,9 @@ sub_thread_perform_operation (PerformOperationData *data, GError **error)
 
 static gboolean
 gda_thread_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				       GdaServerOperation *op, guint *task_id, 
-				       GdaServerProviderAsyncCallback async_cb, gpointer cb_data, GError **error)
+				       GdaServerOperation *op, G_GNUC_UNUSED guint *task_id,
+				       GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data,
+				       GError **error)
 {
 	ThreadConnectionData *cdata;
 	PerformOperationData wdata;
@@ -1280,7 +1286,7 @@ typedef struct {
 } GetDataHandlerData;
 
 static GdaDataHandler *
-sub_thread_get_data_handler (GetDataHandlerData *data, GError **error)
+sub_thread_get_data_handler (GetDataHandlerData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	GdaDataHandler *retval;
@@ -1330,7 +1336,7 @@ typedef struct {
 } GetDefaultDbmsTypeData;
 
 static const gchar *
-sub_thread_get_default_dbms_type (GetDefaultDbmsTypeData *data, GError **error)
+sub_thread_get_default_dbms_type (GetDefaultDbmsTypeData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	const gchar *retval;
@@ -1374,7 +1380,7 @@ gda_thread_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConne
  */
 
 static GdaSqlParser *
-sub_thread_create_parser (CncProvData *data, GError **error)
+sub_thread_create_parser (CncProvData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	GdaSqlParser *parser = NULL;
@@ -1450,7 +1456,7 @@ sub_thread_statement_to_sql (StmtToSqlData *data, GError **error)
 static gchar *
 gda_thread_provider_statement_to_sql (GdaServerProvider *provider, GdaConnection *cnc,
 				      GdaStatement *stmt, GdaSet *params, GdaStatementSqlFlag flags,
-				      GSList **params_used, GError **error)
+				      GSList **params_used, G_GNUC_UNUSED GError **error)
 {
 	ThreadConnectionData *cdata;
 	StmtToSqlData wdata;
@@ -1672,7 +1678,8 @@ gda_thread_provider_statement_execute (GdaServerProvider *provider, GdaConnectio
 }
 
 static gboolean
-gda_thread_provider_handle_async (GdaServerProvider *provider, GdaConnection *cnc, GError **error)
+gda_thread_provider_handle_async (GdaServerProvider *provider, GdaConnection *cnc,
+				  G_GNUC_UNUSED GError **error)
 {
 	ThreadConnectionData *cdata;
 	GObject *res;
@@ -2023,7 +2030,7 @@ typedef struct {
 } SqlIdentifierQuoteData;
 
 static gchar *
-sub_thread_identifier_quote (SqlIdentifierQuoteData *data, GError **error)
+sub_thread_identifier_quote (SqlIdentifierQuoteData *data, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	gchar *retval;
@@ -2065,7 +2072,7 @@ gda_thread_provider_identifier_quote (GdaServerProvider *provider, GdaConnection
 }
 
 static gpointer
-sub_thread_unref_connection (GdaConnection *cnc, GError **error)
+sub_thread_unref_connection (GdaConnection *cnc, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	g_object_unref (cnc);
diff --git a/libgda/thread-wrapper/gda-thread-recordset.c b/libgda/thread-wrapper/gda-thread-recordset.c
index 96faef6..0782ae8 100644
--- a/libgda/thread-wrapper/gda-thread-recordset.c
+++ b/libgda/thread-wrapper/gda-thread-recordset.c
@@ -61,7 +61,7 @@ static GObjectClass *parent_class = NULL;
  */
 static void
 gda_thread_recordset_init (GdaThreadRecordset *recset,
-			   GdaThreadRecordsetClass *klass)
+			   G_GNUC_UNUSED GdaThreadRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_THREAD_RECORDSET (recset));
 	recset->priv = g_new0 (GdaThreadRecordsetPrivate, 1);
@@ -198,7 +198,7 @@ _gda_thread_recordset_new (GdaConnection *cnc, GdaThreadWrapper *wrapper, GdaDat
  * fetch nb rows
  */
 static gpointer
-sub_thread_fetch_nb_rows (GdaDataSelect *model, GError **error)
+sub_thread_fetch_nb_rows (GdaDataSelect *model, G_GNUC_UNUSED GError **error)
 {
 	/* WARNING: function executed in sub thread! */
 	gint retval;
diff --git a/libgda/thread-wrapper/gda-thread-wrapper.c b/libgda/thread-wrapper/gda-thread-wrapper.c
index f2514d5..0bfcd4f 100644
--- a/libgda/thread-wrapper/gda-thread-wrapper.c
+++ b/libgda/thread-wrapper/gda-thread-wrapper.c
@@ -329,7 +329,7 @@ worker_thread_entry_point (GAsyncQueue *to_worker_thread)
 }
 
 static void
-gda_thread_wrapper_init (GdaThreadWrapper *wrapper, GdaThreadWrapperClass *klass)
+gda_thread_wrapper_init (GdaThreadWrapper *wrapper, G_GNUC_UNUSED GdaThreadWrapperClass *klass)
 {
 	g_return_if_fail (GDA_IS_THREAD_WRAPPER (wrapper));
 
@@ -347,7 +347,7 @@ gda_thread_wrapper_init (GdaThreadWrapper *wrapper, GdaThreadWrapperClass *klass
 }
 
 static gboolean
-thread_data_remove_jobs_func (GThread *key, ThreadData *td, gpointer data)
+thread_data_remove_jobs_func (G_GNUC_UNUSED GThread *key, ThreadData *td, G_GNUC_UNUSED gpointer data)
 {
 	if (td->jobs)  {
 		GSList *list;
@@ -456,8 +456,8 @@ gda_thread_wrapper_get_type (void)
 static void
 gda_thread_wrapper_set_property (GObject *object,
 			       guint param_id,
-			       const GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED const GValue *value,
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaThreadWrapper *wrapper;
 
@@ -471,8 +471,8 @@ gda_thread_wrapper_set_property (GObject *object,
 static void
 gda_thread_wrapper_get_property (GObject *object,
 			       guint param_id,
-			       GValue *value,
-			       GParamSpec *pspec)
+			       G_GNUC_UNUSED GValue *value,
+			       G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaThreadWrapper *wrapper;
 	
@@ -525,7 +525,7 @@ gda_thread_wrapper_new (void)
  */
 guint
 gda_thread_wrapper_execute (GdaThreadWrapper *wrapper, GdaThreadWrapperFunc func,
-			    gpointer arg, GDestroyNotify arg_destroy_func, GError **error)
+			    gpointer arg, GDestroyNotify arg_destroy_func, G_GNUC_UNUSED GError **error)
 {
 	Job *job;
 	guint id;
@@ -599,7 +599,7 @@ gda_thread_wrapper_execute (GdaThreadWrapper *wrapper, GdaThreadWrapperFunc func
  */
 guint
 gda_thread_wrapper_execute_void (GdaThreadWrapper *wrapper, GdaThreadWrapperVoidFunc func,
-				 gpointer arg, GDestroyNotify arg_destroy_func, GError **error)
+				 gpointer arg, GDestroyNotify arg_destroy_func, G_GNUC_UNUSED GError **error)
 {
 	Job *job;
 	guint id;
@@ -905,11 +905,11 @@ gda_thread_wrapper_get_waiting_size (GdaThreadWrapper *wrapper)
  */
 static void
 worker_thread_closure_marshal (GClosure *closure,
-			       GValue *return_value,
+			       G_GNUC_UNUSED GValue *return_value,
 			       guint n_param_values,
 			       const GValue *param_values,
-			       gpointer invocation_hint,
-			       gpointer marshal_data)
+			       G_GNUC_UNUSED gpointer invocation_hint,
+			       G_GNUC_UNUSED gpointer marshal_data)
 {
 	SignalSpec *sigspec = (SignalSpec *) closure->data;
 
@@ -955,11 +955,11 @@ worker_thread_closure_marshal (GClosure *closure,
  */
 static void
 worker_thread_closure_marshal_anythread (GClosure *closure,
-					 GValue *return_value,
+					 G_GNUC_UNUSED GValue *return_value,
 					 guint n_param_values,
 					 const GValue *param_values,
-					 gpointer invocation_hint,
-					 gpointer marshal_data)
+					 G_GNUC_UNUSED gpointer invocation_hint,
+					 G_GNUC_UNUSED gpointer marshal_data)
 {
 	SignalSpec *sigspec = (SignalSpec *) closure->data;
 
@@ -1093,7 +1093,7 @@ gda_thread_wrapper_connect_raw (GdaThreadWrapper *wrapper,
 }
 
 static gboolean
-find_signal_r_func (GThread *thread, ThreadData *td, gulong *id)
+find_signal_r_func (G_GNUC_UNUSED GThread *thread, ThreadData *td, gulong *id)
 {
 	GSList *list;
 	for (list = td->signals_list; list; list = list->next) {
diff --git a/providers/bdb/gda-bdb-provider.c b/providers/bdb/gda-bdb-provider.c
index ee34b98..2896289 100644
--- a/providers/bdb/gda-bdb-provider.c
+++ b/providers/bdb/gda-bdb-provider.c
@@ -74,7 +74,7 @@ gda_bdb_provider_class_init (GdaBdbProviderClass *klass)
 }
 
 static void
-gda_bdb_provider_init (GdaBdbProvider *pg_prv, GdaBdbProviderClass *klass)
+gda_bdb_provider_init (G_GNUC_UNUSED GdaBdbProvider *pg_prv, G_GNUC_UNUSED GdaBdbProviderClass *klass)
 {
 }
 
@@ -119,7 +119,7 @@ gda_bdb_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_bdb_provider_get_name (GdaServerProvider *provider)
+gda_bdb_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return BDB_PROVIDER_NAME;
 }
@@ -128,7 +128,7 @@ gda_bdb_provider_get_name (GdaServerProvider *provider)
  * Get version request
  */
 static const gchar *
-gda_bdb_provider_get_version (GdaServerProvider *provider)
+gda_bdb_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -138,8 +138,9 @@ gda_bdb_provider_get_version (GdaServerProvider *provider)
  */
 static gboolean
 gda_bdb_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
-				  GdaQuarkList *params, GdaQuarkList *auth,
-				  guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				  GdaQuarkList *params, G_GNUC_UNUSED GdaQuarkList *auth,
+				  G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				  G_GNUC_UNUSED gpointer cb_data)
 {
 	BdbConnectionData *cdata;
 	gchar *bdb_file, *bdb_db, *dirname;
diff --git a/providers/bdb/gda-bdb-test.c b/providers/bdb/gda-bdb-test.c
index 888125c..660025c 100644
--- a/providers/bdb/gda-bdb-test.c
+++ b/providers/bdb/gda-bdb-test.c
@@ -129,7 +129,7 @@ gda_stuff (gpointer filename)
 	gda_connection_close (cnc);
 }
 
-int main (int argc, char **argv)
+int main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
 {
 	gda_init ();
 	create_db (DB_FILE);
diff --git a/providers/bdb/libmain.c b/providers/bdb/libmain.c
index eb7765c..a55ee71 100644
--- a/providers/bdb/libmain.c
+++ b/providers/bdb/libmain.c
@@ -37,14 +37,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
 	/*g_module_make_resident (module);*/
 	return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
 	g_free (module_path);
 	module_path = NULL;
diff --git a/providers/jdbc/GdaInputStream.c b/providers/jdbc/GdaInputStream.c
index d9af0a4..4b97074 100644
--- a/providers/jdbc/GdaInputStream.c
+++ b/providers/jdbc/GdaInputStream.c
@@ -19,7 +19,7 @@ JNICALL Java_GdaInputStream_initIDs (JNIEnv *env, jclass klass)
 }
 
 JNIEXPORT jintArray
-JNICALL Java_GdaInputStream_readData (JNIEnv *jenv, jobject obj,
+JNICALL Java_GdaInputStream_readData (JNIEnv *jenv, G_GNUC_UNUSED jobject obj,
 				      jlong gda_blob_pointer, jlong offset, jlong size)
 {
 	GdaBlob *blob = (GdaBlob*) gda_blob_pointer;
@@ -93,7 +93,7 @@ JNICALL Java_GdaInputStream_readData (JNIEnv *jenv, jobject obj,
 }
 
 JNIEXPORT jbyteArray JNICALL
-Java_GdaInputStream_readByteData (JNIEnv *jenv, jobject obj,
+Java_GdaInputStream_readByteData (JNIEnv *jenv, G_GNUC_UNUSED jobject obj,
 				      jlong gda_blob_pointer, jlong offset, jlong size)
 {
 	GdaBlob *blob = (GdaBlob*) gda_blob_pointer;
diff --git a/providers/jdbc/GdaJValue.c b/providers/jdbc/GdaJValue.c
index c5be92d..9c38ea4 100644
--- a/providers/jdbc/GdaJValue.c
+++ b/providers/jdbc/GdaJValue.c
@@ -42,7 +42,7 @@ JNICALL Java_GdaJValue_initIDs (JNIEnv *env, jclass klass)
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCString (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jstring str)
+JNICALL Java_GdaJValue_setCString (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col, jstring str)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	gchar *tmp;
@@ -67,7 +67,7 @@ JNICALL Java_GdaJValue_setCString (JNIEnv *jenv, jobject obj, jlong c_pointer, j
 }
 
 JNIEXPORT jstring
-JNICALL Java_GdaJValue_getCString (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCString (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	const gchar *str;
 	
@@ -76,7 +76,8 @@ JNICALL Java_GdaJValue_getCString (JNIEnv *jenv, jobject obj, jlong c_pointer)
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCInt (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jint i)
+JNICALL Java_GdaJValue_setCInt (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				jint col, jint i)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_INT);
@@ -84,13 +85,14 @@ JNICALL Java_GdaJValue_setCInt (JNIEnv *jenv, jobject obj, jlong c_pointer, jint
 }
 
 JNIEXPORT jint
-JNICALL Java_GdaJValue_getCInt (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCInt (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jint) g_value_get_int ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCChar (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jbyte b)
+JNICALL Java_GdaJValue_setCChar (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				 jint col, jbyte b)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_CHAR);
@@ -98,13 +100,14 @@ JNICALL Java_GdaJValue_setCChar (JNIEnv *jenv, jobject obj, jlong c_pointer, jin
 }
 
 JNIEXPORT jbyte
-JNICALL Java_GdaJValue_getCChar (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCChar (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jbyte) g_value_get_char ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCDouble (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jdouble d)
+JNICALL Java_GdaJValue_setCDouble (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				   jint col, jdouble d)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_DOUBLE);
@@ -112,13 +115,14 @@ JNICALL Java_GdaJValue_setCDouble (JNIEnv *jenv, jobject obj, jlong c_pointer, j
 }
 
 JNIEXPORT jdouble
-JNICALL Java_GdaJValue_getCDouble (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCDouble (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jdouble) g_value_get_double ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCFloat (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jfloat f)
+JNICALL Java_GdaJValue_setCFloat (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				  jint col, jfloat f)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_FLOAT);
@@ -126,13 +130,14 @@ JNICALL Java_GdaJValue_setCFloat (JNIEnv *jenv, jobject obj, jlong c_pointer, ji
 }
 
 JNIEXPORT jfloat
-JNICALL Java_GdaJValue_getCFloat (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCFloat (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jfloat) g_value_get_float ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCBoolean (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jboolean b)
+JNICALL Java_GdaJValue_setCBoolean (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				    jint col, jboolean b)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_BOOLEAN);
@@ -140,13 +145,14 @@ JNICALL Java_GdaJValue_setCBoolean (JNIEnv *jenv, jobject obj, jlong c_pointer,
 }
 
 JNIEXPORT jboolean
-JNICALL Java_GdaJValue_getCBoolean (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCBoolean (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jboolean) g_value_get_boolean ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCDate (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jint year, jint month, jint day)
+JNICALL Java_GdaJValue_setCDate (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col,
+				 jint year, jint month, jint day)
 {
 	GDate *date;
 
@@ -197,7 +203,8 @@ Java_GdaJValue_getCDate (JNIEnv *jenv, jobject obj, jlong c_pointer)
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCTime (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jint hour, jint min, jint sec)
+JNICALL Java_GdaJValue_setCTime (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				 jint col, jint hour, jint min, jint sec)
 {
 	GdaTime *tim;
 	GValue *value;
@@ -240,8 +247,9 @@ JNICALL Java_GdaJValue_getCTime (JNIEnv *jenv, jobject obj, jlong c_pointer)
 
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCTimestamp (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jint year, jint month, jint day,
-				      jint hour, jint min, jint sec)
+JNICALL Java_GdaJValue_setCTimestamp (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				      jint col, jint year, jint month, jint day, jint hour, jint min,
+				      jint sec)
 {
 	GdaTimestamp *ts;
 	GValue *value;
@@ -287,7 +295,8 @@ JNICALL Java_GdaJValue_getCTimestamp (JNIEnv *jenv, jobject obj, jlong c_pointer
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCBinary (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jbyteArray bytes)
+JNICALL Java_GdaJValue_setCBinary (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col,
+				   jbyteArray bytes)
 {
 	jint len;
 	GdaBinary *bin;
@@ -306,7 +315,7 @@ JNICALL Java_GdaJValue_setCBinary (JNIEnv *jenv, jobject obj, jlong c_pointer, j
 }
 
 JNIEXPORT jbyteArray
-JNICALL Java_GdaJValue_getCBinary (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCBinary (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	const GdaBinary *bin;
 	jbyteArray jbytes;
@@ -335,7 +344,8 @@ JNICALL Java_GdaJValue_getCBinary (JNIEnv *jenv, jobject obj, jlong c_pointer)
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCBlob (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jlong cnc_c_pointer, jobject blobop)
+JNICALL Java_GdaJValue_setCBlob (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col,
+				 jlong cnc_c_pointer, jobject blobop)
 {
 	GdaBlob *blob;
 	GValue *value;
@@ -349,7 +359,7 @@ JNICALL Java_GdaJValue_setCBlob (JNIEnv *jenv, jobject obj, jlong c_pointer, jin
 }
 
 JNIEXPORT jobject
-JNICALL Java_GdaJValue_getCBlob (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCBlob (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	const GdaBlob *blob;
 
@@ -417,7 +427,7 @@ JNICALL Java_GdaJValue_getCBlob (JNIEnv *jenv, jobject obj, jlong c_pointer)
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCLong (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jlong l)
+JNICALL Java_GdaJValue_setCLong (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col, jlong l)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_INT64);
@@ -425,13 +435,14 @@ JNICALL Java_GdaJValue_setCLong (JNIEnv *jenv, jobject obj, jlong c_pointer, jin
 }
 
 JNIEXPORT jshort
-JNICALL Java_GdaJValue_getCLong (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCLong (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jlong) g_value_get_int64 ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCShort (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jshort s)
+JNICALL Java_GdaJValue_setCShort (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer,
+				  jint col, jshort s)
 {
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
 	g_value_init (value, G_TYPE_INT64);
@@ -439,14 +450,14 @@ JNICALL Java_GdaJValue_setCShort (JNIEnv *jenv, jobject obj, jlong c_pointer, ji
 }
 
 JNIEXPORT jshort
-JNICALL Java_GdaJValue_getCShort (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCShort (G_GNUC_UNUSED JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	return (jshort) gda_value_get_short ((GValue *) c_pointer);
 }
 
 JNIEXPORT void
-JNICALL Java_GdaJValue_setCNumeric (JNIEnv *jenv, jobject obj, jlong c_pointer, jint col, jstring str, 
-				    jint precision, jint scale)
+JNICALL Java_GdaJValue_setCNumeric (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer, jint col,
+				    jstring str, jint precision, jint scale)
 {
 	GdaNumeric *num;
 	GValue *value = gda_row_get_value (GDA_ROW ((gpointer) c_pointer), col);
@@ -476,7 +487,7 @@ JNICALL Java_GdaJValue_setCNumeric (JNIEnv *jenv, jobject obj, jlong c_pointer,
 }
 
 JNIEXPORT jobject
-JNICALL Java_GdaJValue_getCNumeric (JNIEnv *jenv, jobject obj, jlong c_pointer)
+JNICALL Java_GdaJValue_getCNumeric (JNIEnv *jenv, G_GNUC_UNUSED jobject obj, jlong c_pointer)
 {
 	const GdaNumeric *num;
 	num = gda_value_get_numeric ((GValue *) c_pointer);
diff --git a/providers/jdbc/gda-jdbc-blob-op.c b/providers/jdbc/gda-jdbc-blob-op.c
index a221764..f6078f4 100644
--- a/providers/jdbc/gda-jdbc-blob-op.c
+++ b/providers/jdbc/gda-jdbc-blob-op.c
@@ -75,7 +75,7 @@ gda_jdbc_blob_op_get_type (void)
 
 static void
 gda_jdbc_blob_op_init (GdaJdbcBlobOp *op,
-			   GdaJdbcBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaJdbcBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_JDBC_BLOB_OP (op));
 
diff --git a/providers/jdbc/gda-jdbc-meta.c b/providers/jdbc/gda-jdbc-meta.c
index d55ee5c..a085d13 100644
--- a/providers/jdbc/gda-jdbc-meta.c
+++ b/providers/jdbc/gda-jdbc-meta.c
@@ -40,7 +40,7 @@
  * Meta initialization
  */
 void
-_gda_jdbc_provider_meta_init (GdaServerProvider *provider)
+_gda_jdbc_provider_meta_init (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 }
 
@@ -68,7 +68,7 @@ init_meta_obj (GdaConnection *cnc, JNIEnv *jenv, JdbcConnectionData *cdata, GErr
 }
 
 gboolean
-_gda_jdbc_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_jdbc_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	JdbcConnectionData *cdata;
@@ -124,25 +124,27 @@ _gda_jdbc_meta__info (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_jdbc_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
-		     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+		     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_jdbc_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
 		    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-		    const GValue *udt_catalog, const GValue *udt_schema)
+		    G_GNUC_UNUSED const GValue *udt_catalog, G_GNUC_UNUSED const GValue *udt_schema)
 {
 	GdaDataModel *model = NULL;
 	gboolean retval = TRUE;
@@ -161,34 +163,38 @@ _gda_jdbc_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_jdbc_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_jdbc_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_jdbc_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+			 G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_jdbc_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
-		       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+		       G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_jdbc_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
-		      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-		      const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_jdbc_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+		      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+		      G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
@@ -196,88 +202,97 @@ _gda_jdbc_meta_enums (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_jdbc_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			const GValue *domain_catalog, const GValue *domain_schema)
+_gda_jdbc_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+			G_GNUC_UNUSED const GValue *domain_schema)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				const GValue *domain_catalog, const GValue *domain_schema, 
-				const GValue *domain_name)
+_gda_jdbc_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+				G_GNUC_UNUSED const GValue *domain_schema,
+				G_GNUC_UNUSED const GValue *domain_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *specific_name)
+_gda_jdbc_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *specific_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *collation_catalog, const GValue *collation_schema, 
-			   const GValue *collation_name_n)
+_gda_jdbc_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *collation_catalog,
+			   G_GNUC_UNUSED const GValue *collation_schema,
+			   G_GNUC_UNUSED const GValue *collation_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			       const GValue *chset_catalog, const GValue *chset_schema, 
-			       const GValue *chset_name_n)
+_gda_jdbc_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *chset_catalog,
+			       G_GNUC_UNUSED const GValue *chset_schema,
+			       G_GNUC_UNUSED const GValue *chset_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
@@ -291,7 +306,7 @@ _gda_jdbc_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_jdbc_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_jdbc_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			 const GValue *catalog_name, const GValue *schema_name_n)
 {
@@ -371,7 +386,7 @@ _gda_jdbc_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_jdbc_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_jdbc_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *table_catalog, const GValue *table_schema, 
 			     const GValue *table_name_n)
@@ -487,7 +502,7 @@ _gda_jdbc_meta__columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_jdbc_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_jdbc_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *table_catalog, const GValue *table_schema, 
 			const GValue *table_name)
@@ -569,198 +584,220 @@ _gda_jdbc_meta_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_jdbc_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			  const GValue *view_catalog, const GValue *view_schema, 
-			  const GValue *view_name)
+_gda_jdbc_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *view_catalog,
+			  G_GNUC_UNUSED const GValue *view_schema, G_GNUC_UNUSED const GValue *view_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error, 
-				const GValue *table_catalog, const GValue *table_schema, 
-				const GValue *table_name, const GValue *constraint_name_n)
+_gda_jdbc_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+				G_GNUC_UNUSED const GValue *table_schema,
+				G_GNUC_UNUSED const GValue *table_name,
+				G_GNUC_UNUSED const GValue *constraint_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
-				const GValue *constraint_name)
+_gda_jdbc_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+				G_GNUC_UNUSED const GValue *table_schema,
+				G_GNUC_UNUSED const GValue *table_name,
+				G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *table_catalog, const GValue *table_schema, 
-			    const GValue *table_name, const GValue *constraint_name)
+_gda_jdbc_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			    G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			    G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *table_catalog, const GValue *table_schema, 
-			      const GValue *table_name, const GValue *constraint_name)
+_gda_jdbc_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			      G_GNUC_UNUSED const GValue *table_schema,
+			      G_GNUC_UNUSED const GValue *table_name,
+			      G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *table_catalog, const GValue *table_schema, 
-			 const GValue *table_name)
+_gda_jdbc_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			 G_GNUC_UNUSED const GValue *table_schema,
+			 G_GNUC_UNUSED const GValue *table_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__routines (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__routines (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *routine_catalog, const GValue *routine_schema, 
-			 const GValue *routine_name_n)
+_gda_jdbc_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *routine_catalog,
+			 G_GNUC_UNUSED const GValue *routine_schema,
+			 G_GNUC_UNUSED const GValue *routine_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *rout_catalog, const GValue *rout_schema, 
-			    const GValue *rout_name)
+_gda_jdbc_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			    G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *rout_catalog, const GValue *rout_schema, 
-			    const GValue *rout_name)
+_gda_jdbc_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			    G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
-			    const GValue *index_name_n)
+_gda_jdbc_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			    G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			    G_GNUC_UNUSED const GValue *index_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_jdbc_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_jdbc_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *table_catalog, const GValue *table_schema,
-			   const GValue *table_name, const GValue *index_name)
+_gda_jdbc_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			   G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			   G_GNUC_UNUSED const GValue *index_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
diff --git a/providers/jdbc/gda-jdbc-provider.c b/providers/jdbc/gda-jdbc-provider.c
index 88a4800..c7e59d3 100644
--- a/providers/jdbc/gda-jdbc-provider.c
+++ b/providers/jdbc/gda-jdbc-provider.c
@@ -264,7 +264,7 @@ gda_jdbc_provider_class_init (GdaJdbcProviderClass *klass)
 extern JavaVM *_jdbc_provider_java_vm;
 
 static void
-gda_jdbc_provider_init (GdaJdbcProvider *jdbc_prv, GdaJdbcProviderClass *klass)
+gda_jdbc_provider_init (GdaJdbcProvider *jdbc_prv, G_GNUC_UNUSED GdaJdbcProviderClass *klass)
 {
 	InternalStatementItem i;
 	GdaSqlParser *parser;
@@ -323,7 +323,7 @@ gda_jdbc_provider_get_name (GdaServerProvider *provider)
  * Get provider's version, no need to change this
  */
 static const gchar *
-gda_jdbc_provider_get_version (GdaServerProvider *provider)
+gda_jdbc_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -342,7 +342,8 @@ gda_jdbc_provider_get_version (GdaServerProvider *provider)
 static gboolean
 gda_jdbc_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
 				   GdaQuarkList *params, GdaQuarkList *auth,
-				   guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				   G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				   G_GNUC_UNUSED gpointer cb_data)
 {
 	GdaJdbcProvider *jprov;
 	g_return_val_if_fail (GDA_IS_JDBC_PROVIDER (provider), FALSE);
@@ -509,7 +510,8 @@ gda_jdbc_provider_get_server_version (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_jdbc_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				      GdaServerOperationType type, GdaSet *options)
+				      G_GNUC_UNUSED GdaServerOperationType type,
+				      G_GNUC_UNUSED GdaSet *options)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -530,7 +532,8 @@ gda_jdbc_provider_supports_operation (GdaServerProvider *provider, GdaConnection
  */
 static GdaServerOperation *
 gda_jdbc_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				    GdaServerOperationType type, GdaSet *options, GError **error)
+				    G_GNUC_UNUSED GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options,
+				    G_GNUC_UNUSED GError **error)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -548,7 +551,7 @@ gda_jdbc_provider_create_operation (GdaServerProvider *provider, GdaConnection *
  */
 static gchar *
 gda_jdbc_provider_render_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				    GdaServerOperation *op, GError **error)
+				    G_GNUC_UNUSED GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -566,8 +569,9 @@ gda_jdbc_provider_render_operation (GdaServerProvider *provider, GdaConnection *
  */
 static gboolean
 gda_jdbc_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				     GdaServerOperation *op, guint *task_id, 
-				     GdaServerProviderAsyncCallback async_cb, gpointer cb_data, GError **error)
+				     G_GNUC_UNUSED GdaServerOperation *op, G_GNUC_UNUSED guint *task_id,
+				     GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data,
+				     GError **error)
 {
 	/* If asynchronous connection opening is not supported, then exit now */
 	if (async_cb) {
@@ -591,8 +595,8 @@ gda_jdbc_provider_perform_operation (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_jdbc_provider_begin_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-				     const gchar *name, GdaTransactionIsolation level,
-				     GError **error)
+				     G_GNUC_UNUSED const gchar *name,
+				     G_GNUC_UNUSED GdaTransactionIsolation level, GError **error)
 {
 	JdbcConnectionData *cdata;
 	GValue *jexec_res;
@@ -633,7 +637,7 @@ gda_jdbc_provider_begin_transaction (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_jdbc_provider_commit_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-				      const gchar *name, GError **error)
+				      G_GNUC_UNUSED const gchar *name, GError **error)
 {
 	JdbcConnectionData *cdata;
 	GValue *jexec_res;
@@ -674,7 +678,7 @@ gda_jdbc_provider_commit_transaction (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_jdbc_provider_rollback_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-					const gchar *name, GError **error)
+					G_GNUC_UNUSED const gchar *name, GError **error)
 {
 	JdbcConnectionData *cdata;
 	GValue *jexec_res;
@@ -1563,7 +1567,7 @@ gda_jdbc_statement_rewrite (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_jdbc_provider_xa_start (GdaServerProvider *provider, GdaConnection *cnc, 
-				const GdaXaTransactionId *xid, GError **error)
+				const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
@@ -1589,7 +1593,7 @@ gda_jdbc_provider_xa_start (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_jdbc_provider_xa_end (GdaServerProvider *provider, GdaConnection *cnc, 
-			      const GdaXaTransactionId *xid, GError **error)
+			      const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
@@ -1610,7 +1614,7 @@ gda_jdbc_provider_xa_end (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_jdbc_provider_xa_prepare (GdaServerProvider *provider, GdaConnection *cnc, 
-				  const GdaXaTransactionId *xid, GError **error)
+				  const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
@@ -1632,7 +1636,7 @@ gda_jdbc_provider_xa_prepare (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_jdbc_provider_xa_commit (GdaServerProvider *provider, GdaConnection *cnc, 
-				 const GdaXaTransactionId *xid, GError **error)
+				 const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
@@ -1653,7 +1657,7 @@ gda_jdbc_provider_xa_commit (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_jdbc_provider_xa_rollback (GdaServerProvider *provider, GdaConnection *cnc, 
-				   const GdaXaTransactionId *xid, GError **error)
+				   const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
@@ -1676,7 +1680,7 @@ gda_jdbc_provider_xa_rollback (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static GList *
 gda_jdbc_provider_xa_recover (GdaServerProvider *provider, GdaConnection *cnc,
-				  GError **error)
+				  G_GNUC_UNUSED GError **error)
 {
 	JdbcConnectionData *cdata;
 
diff --git a/providers/jdbc/gda-jdbc-pstmt.c b/providers/jdbc/gda-jdbc-pstmt.c
index 0422954..07294bd 100644
--- a/providers/jdbc/gda-jdbc-pstmt.c
+++ b/providers/jdbc/gda-jdbc-pstmt.c
@@ -73,7 +73,7 @@ gda_jdbc_pstmt_class_init (GdaJdbcPStmtClass *klass)
 }
 
 static void
-gda_jdbc_pstmt_init (GdaJdbcPStmt *pstmt, GdaJdbcPStmtClass *klass)
+gda_jdbc_pstmt_init (GdaJdbcPStmt *pstmt, G_GNUC_UNUSED GdaJdbcPStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	
diff --git a/providers/jdbc/gda-jdbc-recordset.c b/providers/jdbc/gda-jdbc-recordset.c
index 8db5c33..03e3dd9 100644
--- a/providers/jdbc/gda-jdbc-recordset.c
+++ b/providers/jdbc/gda-jdbc-recordset.c
@@ -60,7 +60,7 @@ static GObjectClass *parent_class = NULL;
  */
 static void
 gda_jdbc_recordset_init (GdaJdbcRecordset *recset,
-			 GdaJdbcRecordsetClass *klass)
+			 G_GNUC_UNUSED GdaJdbcRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_JDBC_RECORDSET (recset));
 	recset->priv = g_new0 (GdaJdbcRecordsetPrivate, 1);
@@ -505,7 +505,7 @@ gda_jdbc_recordset_fetch_random (GdaDataSelect *model, GdaRow **prow, gint rownu
  * never keeps a reference to it). Before a new #GdaRow gets created, the previous one, if set, is discarded.
  */
 static gboolean 
-gda_jdbc_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_jdbc_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, G_GNUC_UNUSED gint rownum, GError **error)
 {
 	GdaJdbcRecordset *imodel = (GdaJdbcRecordset*) model;
 	JNIEnv *jenv = NULL;
diff --git a/providers/jdbc/gda-list-jdbc-providers.c b/providers/jdbc/gda-list-jdbc-providers.c
index aa56d37..c5b1e5a 100644
--- a/providers/jdbc/gda-list-jdbc-providers.c
+++ b/providers/jdbc/gda-list-jdbc-providers.c
@@ -5,7 +5,7 @@
 #define SO_NAME "libgda-jdbc." G_MODULE_SUFFIX
 
 int
-main (int argc, char **argv)
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
 {
 	GdaDataModel *providers;
 	gint i, nrows;
diff --git a/providers/jdbc/libmain.c b/providers/jdbc/libmain.c
index 70e56b4..d5aa7bb 100644
--- a/providers/jdbc/libmain.c
+++ b/providers/jdbc/libmain.c
@@ -80,14 +80,14 @@ static gint    sub_nb; /* size of sub_names */
  * would be the solution...
  */
 EXPORT const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
 	//g_module_make_resident (module);
 	return NULL;
 }
 
 EXPORT void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
 	if (! __CreateJavaVM) {
 		g_free (module_path);
@@ -297,7 +297,7 @@ plugin_get_sub_description (const gchar *name)
 }
 
 EXPORT gchar *
-plugin_get_sub_dsn_spec (const gchar *name)
+plugin_get_sub_dsn_spec (G_GNUC_UNUSED const gchar *name)
 {
 	gchar *ret, *dir;
 
diff --git a/providers/postgres/gda-postgres-blob-op.c b/providers/postgres/gda-postgres-blob-op.c
index b82d2fb..f330dd4 100644
--- a/providers/postgres/gda-postgres-blob-op.c
+++ b/providers/postgres/gda-postgres-blob-op.c
@@ -74,7 +74,7 @@ gda_postgres_blob_op_get_type (void)
 
 static void
 gda_postgres_blob_op_init (GdaPostgresBlobOp *op,
-			   GdaPostgresBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaPostgresBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_POSTGRES_BLOB_OP (op));
 
diff --git a/providers/postgres/gda-postgres-ddl.c b/providers/postgres/gda-postgres-ddl.c
index 8606a9a..3e29049 100644
--- a/providers/postgres/gda-postgres-ddl.c
+++ b/providers/postgres/gda-postgres-ddl.c
@@ -27,7 +27,7 @@
 
 gchar *
 gda_postgres_render_CREATE_DB (GdaServerProvider *provider, GdaConnection *cnc, 
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -80,7 +80,7 @@ gda_postgres_render_CREATE_DB (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 gda_postgres_render_DROP_DB (GdaServerProvider *provider, GdaConnection *cnc, 
-			     GdaServerOperation *op, GError **error)
+			     GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	gchar *sql = NULL;
@@ -379,7 +379,7 @@ gda_postgres_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_DROP_TABLE   (GdaServerProvider *provider, GdaConnection *cnc, 
-				  GdaServerOperation *op, GError **error)
+				  GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -407,7 +407,7 @@ gda_postgres_render_DROP_TABLE   (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_RENAME_TABLE (GdaServerProvider *provider, GdaConnection *cnc, 
-				  GdaServerOperation *op, GError **error)
+				  GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	gchar *sql = NULL;
@@ -433,7 +433,7 @@ gda_postgres_render_RENAME_TABLE (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_ADD_COLUMN (GdaServerProvider *provider, GdaConnection *cnc, 
-				GdaServerOperation *op, GError **error)
+				GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -511,7 +511,7 @@ gda_postgres_render_ADD_COLUMN (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 gda_postgres_render_DROP_COLUMN  (GdaServerProvider *provider, GdaConnection *cnc, 
-				  GdaServerOperation *op, GError **error)
+				  GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -546,7 +546,7 @@ gda_postgres_render_DROP_COLUMN  (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_CREATE_INDEX (GdaServerProvider *provider, GdaConnection *cnc, 
-				  GdaServerOperation *op, GError **error)
+				  GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -621,7 +621,7 @@ gda_postgres_render_CREATE_INDEX (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_DROP_INDEX   (GdaServerProvider *provider, GdaConnection *cnc, 
-				  GdaServerOperation *op, GError **error)
+				  GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -648,7 +648,7 @@ gda_postgres_render_DROP_INDEX   (GdaServerProvider *provider, GdaConnection *cn
 
 gchar *
 gda_postgres_render_CREATE_VIEW (GdaServerProvider *provider, GdaConnection *cnc, 
-				 GdaServerOperation *op, GError **error)
+				 GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -721,7 +721,7 @@ gda_postgres_render_CREATE_VIEW (GdaServerProvider *provider, GdaConnection *cnc
 	
 gchar *
 gda_postgres_render_DROP_VIEW (GdaServerProvider *provider, GdaConnection *cnc, 
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -753,7 +753,7 @@ gda_postgres_render_DROP_VIEW (GdaServerProvider *provider, GdaConnection *cnc,
 
 gchar *
 gda_postgres_render_CREATE_USER (GdaServerProvider *provider, GdaConnection *cnc, 
-				 GdaServerOperation *op, GError **error)
+				 GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
@@ -962,7 +962,7 @@ gda_postgres_render_CREATE_USER (GdaServerProvider *provider, GdaConnection *cnc
 
 gchar *
 gda_postgres_render_DROP_USER (GdaServerProvider *provider, GdaConnection *cnc,
-			       GdaServerOperation *op, GError **error)
+			       GdaServerOperation *op, G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	const GValue *value;
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index 019342a..d60a818 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -291,7 +291,7 @@ gda_postgres_provider_class_init (GdaPostgresProviderClass *klass)
 }
 
 static void
-gda_postgres_provider_init (GdaPostgresProvider *postgres_prv, GdaPostgresProviderClass *klass)
+gda_postgres_provider_init (GdaPostgresProvider *postgres_prv, G_GNUC_UNUSED GdaPostgresProviderClass *klass)
 {
 	InternalStatementItem i;
 	GdaSqlParser *parser;
@@ -339,7 +339,7 @@ gda_postgres_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_postgres_provider_get_name (GdaServerProvider *provider)
+gda_postgres_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return POSTGRES_PROVIDER_NAME;
 }
@@ -348,7 +348,7 @@ gda_postgres_provider_get_name (GdaServerProvider *provider)
  * Get provider's version, no need to change this
  */
 static const gchar *
-gda_postgres_provider_get_version (GdaServerProvider *provider)
+gda_postgres_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -388,7 +388,8 @@ pq_notice_processor (GdaConnection *cnc, const char *message)
 static gboolean
 gda_postgres_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
 				       GdaQuarkList *params, GdaQuarkList *auth,
-				       guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				       G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				       G_GNUC_UNUSED gpointer cb_data)
 {
 	g_return_val_if_fail (GDA_IS_POSTGRES_PROVIDER (provider), FALSE);
 	g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -656,7 +657,7 @@ gda_postgres_provider_get_database (GdaServerProvider *provider, GdaConnection *
  */
 static gboolean
 gda_postgres_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-					  GdaServerOperationType type, GdaSet *options)
+					  GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -696,7 +697,8 @@ gda_postgres_provider_supports_operation (GdaServerProvider *provider, GdaConnec
  */
 static GdaServerOperation *
 gda_postgres_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
-					GdaServerOperationType type, GdaSet *options, GError **error)
+					GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options,
+					GError **error)
 {
         gchar *file;
         GdaServerOperation *op;
@@ -852,8 +854,9 @@ gda_postgres_provider_render_operation (GdaServerProvider *provider, GdaConnecti
  */
 static gboolean
 gda_postgres_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-					 GdaServerOperation *op, guint *task_id,
-					 GdaServerProviderAsyncCallback async_cb, gpointer cb_data, GError **error)
+					 GdaServerOperation *op, G_GNUC_UNUSED guint *task_id,
+					 GdaServerProviderAsyncCallback async_cb,
+					 G_GNUC_UNUSED gpointer cb_data, GError **error)
 {
         GdaServerOperationType optype;
 
@@ -1051,7 +1054,7 @@ gda_postgres_provider_begin_transaction (GdaServerProvider *provider, GdaConnect
  */
 static gboolean
 gda_postgres_provider_commit_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-					  const gchar *name, GError **error)
+					  G_GNUC_UNUSED const gchar *name, GError **error)
 {
 	PostgresConnectionData *cdata;
 
@@ -1075,7 +1078,7 @@ gda_postgres_provider_commit_transaction (GdaServerProvider *provider, GdaConnec
 static gboolean
 gda_postgres_provider_rollback_transaction (GdaServerProvider *provider,
 					    GdaConnection *cnc,
-					    const gchar *name, GError **error)
+					    G_GNUC_UNUSED const gchar *name, GError **error)
 {
 	PostgresConnectionData *cdata;
 
@@ -1424,7 +1427,8 @@ gda_postgres_provider_get_default_dbms_type (GdaServerProvider *provider, GdaCon
  * by the database. See the PostgreSQL provider implementation for an example.
  */
 static GdaSqlParser *
-gda_postgres_provider_create_parser (GdaServerProvider *provider, GdaConnection *cnc)
+gda_postgres_provider_create_parser (G_GNUC_UNUSED GdaServerProvider *provider,
+				     G_GNUC_UNUSED GdaConnection *cnc)
 {
 	return (GdaSqlParser*) g_object_new (GDA_TYPE_POSTGRES_PARSER, "tokenizer-flavour",
                                              GDA_SQL_PARSER_FLAVOUR_POSTGRESQL, NULL);
@@ -2186,7 +2190,7 @@ gda_postgres_provider_xa_start (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_postgres_provider_xa_end (GdaServerProvider *provider, GdaConnection *cnc,
-			      const GdaXaTransactionId *xid, GError **error)
+			      const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
 	g_return_val_if_fail (gda_connection_get_provider (cnc) == provider, FALSE);
@@ -2455,7 +2459,7 @@ pg_remove_quotes (gchar *str)
 }
 
 static gchar *
-gda_postgresql_identifier_quote (GdaServerProvider *provider, GdaConnection *cnc,
+gda_postgresql_identifier_quote (G_GNUC_UNUSED GdaServerProvider *provider, GdaConnection *cnc,
 				 const gchar *id,
 				 gboolean for_meta_store, gboolean force_quotes)
 {
diff --git a/providers/postgres/gda-postgres-pstmt.c b/providers/postgres/gda-postgres-pstmt.c
index 9be5a1b..cc327bc 100644
--- a/providers/postgres/gda-postgres-pstmt.c
+++ b/providers/postgres/gda-postgres-pstmt.c
@@ -74,7 +74,7 @@ gda_postgres_pstmt_class_init (GdaPostgresPStmtClass *klass)
 }
 
 static void
-gda_postgres_pstmt_init (GdaPostgresPStmt *pstmt, GdaPostgresPStmtClass *klass)
+gda_postgres_pstmt_init (GdaPostgresPStmt *pstmt, G_GNUC_UNUSED GdaPostgresPStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	
diff --git a/providers/postgres/gda-postgres-recordset.c b/providers/postgres/gda-postgres-recordset.c
index 3ef1c61..69fc699 100644
--- a/providers/postgres/gda-postgres-recordset.c
+++ b/providers/postgres/gda-postgres-recordset.c
@@ -100,7 +100,7 @@ enum
  * Object init and finalize
  */
 static void
-gda_postgres_recordset_init (GdaPostgresRecordset *recset, GdaPostgresRecordsetClass *klass)
+gda_postgres_recordset_init (GdaPostgresRecordset *recset, G_GNUC_UNUSED GdaPostgresRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_POSTGRES_RECORDSET (recset));
 	recset->priv = g_new0 (GdaPostgresRecordsetPrivate, 1);
@@ -179,7 +179,7 @@ static void
 gda_postgres_recordset_set_property (GObject *object,
 				     guint param_id,
 				     const GValue *value,
-				     GParamSpec *pspec)
+				     G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaPostgresRecordset *model = (GdaPostgresRecordset *) object;
         if (model->priv) {
@@ -197,7 +197,7 @@ static void
 gda_postgres_recordset_get_property (GObject *object,
 				     guint param_id,
 				     GValue *value,
-				     GParamSpec *pspec)
+				     G_GNUC_UNUSED GParamSpec *pspec)
 {
         GdaPostgresRecordset *model = (GdaPostgresRecordset *) object;
         if (model->priv) {
@@ -599,7 +599,8 @@ make_point (GdaGeometricPoint *point, const gchar *value)
 }
 
 static void
-set_value (GdaConnection *cnc, GdaRow *row, GValue *value, GType type, const gchar *thevalue, gint length, GError **error)
+set_value (GdaConnection *cnc, GdaRow *row, GValue *value, GType type, const gchar *thevalue,
+	   G_GNUC_UNUSED gint length, GError **error)
 {
 	gda_value_reset_with_type (value, type);
 
diff --git a/providers/postgres/libmain.c b/providers/postgres/libmain.c
index a84282b..f7c534c 100644
--- a/providers/postgres/libmain.c
+++ b/providers/postgres/libmain.c
@@ -36,14 +36,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/providers/reuseable/mysql/gda-mysql-meta.c b/providers/reuseable/mysql/gda-mysql-meta.c
index 531aef5..af8bec2 100644
--- a/providers/reuseable/mysql/gda-mysql-meta.c
+++ b/providers/reuseable/mysql/gda-mysql-meta.c
@@ -284,7 +284,7 @@ _gda_mysql_provider_meta_init (GdaServerProvider  *provider)
 #define GDA_MYSQL_GET_REUSEABLE_DATA(cdata) (* ((GdaMysqlReuseable**) (cdata)))
 
 gboolean
-_gda_mysql_meta__info (GdaServerProvider  *prov,
+_gda_mysql_meta__info (G_GNUC_UNUSED GdaServerProvider  *prov,
 		       GdaConnection      *cnc, 
 		       GdaMetaStore       *store,
 		       GdaMetaContext     *context,
@@ -317,7 +317,7 @@ _gda_mysql_meta__info (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__btypes (GdaServerProvider  *prov,
+_gda_mysql_meta__btypes (G_GNUC_UNUSED GdaServerProvider  *prov,
 			 GdaConnection      *cnc, 
 			 GdaMetaStore       *store,
 			 GdaMetaContext     *context,
@@ -423,24 +423,24 @@ _gda_mysql_meta__btypes (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__udt (GdaServerProvider  *prov,
-		      GdaConnection      *cnc, 
-		      GdaMetaStore       *store,
-		      GdaMetaContext     *context,
-		      GError            **error)
+_gda_mysql_meta__udt (G_GNUC_UNUSED GdaServerProvider  *prov,
+		      G_GNUC_UNUSED GdaConnection      *cnc,
+		      G_GNUC_UNUSED GdaMetaStore       *store,
+		      G_GNUC_UNUSED GdaMetaContext     *context,
+		      G_GNUC_UNUSED GError            **error)
 {
 	// TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_udt (GdaServerProvider  *prov,
-		     GdaConnection      *cnc, 
-		     GdaMetaStore       *store,
-		     GdaMetaContext     *context,
-		     GError            **error,
-		     const GValue       *udt_catalog,
-		     const GValue       *udt_schema)
+_gda_mysql_meta_udt (G_GNUC_UNUSED GdaServerProvider  *prov,
+		     G_GNUC_UNUSED GdaConnection      *cnc,
+		     G_GNUC_UNUSED GdaMetaStore       *store,
+		     G_GNUC_UNUSED GdaMetaContext     *context,
+		     G_GNUC_UNUSED GError            **error,
+		     G_GNUC_UNUSED const GValue       *udt_catalog,
+		     G_GNUC_UNUSED const GValue       *udt_schema)
 {
 	// TO_IMPLEMENT;
 	return TRUE;
@@ -448,50 +448,50 @@ _gda_mysql_meta_udt (GdaServerProvider  *prov,
 
 
 gboolean
-_gda_mysql_meta__udt_cols (GdaServerProvider  *prov,
-			   GdaConnection      *cnc, 
-			   GdaMetaStore       *store,
-			   GdaMetaContext     *context,
-			   GError            **error)
+_gda_mysql_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider  *prov,
+			   G_GNUC_UNUSED GdaConnection      *cnc,
+			   G_GNUC_UNUSED GdaMetaStore       *store,
+			   G_GNUC_UNUSED GdaMetaContext     *context,
+			   G_GNUC_UNUSED GError            **error)
 {
 	// TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_mysql_meta_udt_cols (GdaServerProvider  *prov,
-			  GdaConnection      *cnc, 
-			  GdaMetaStore       *store,
-			  GdaMetaContext     *context,
-			  GError            **error,
-			  const GValue       *udt_catalog,
-			  const GValue       *udt_schema,
-			  const GValue       *udt_name)
+_gda_mysql_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider  *prov,
+			  G_GNUC_UNUSED GdaConnection      *cnc,
+			  G_GNUC_UNUSED GdaMetaStore       *store,
+			  G_GNUC_UNUSED GdaMetaContext     *context,
+			  G_GNUC_UNUSED GError            **error,
+			  G_GNUC_UNUSED const GValue       *udt_catalog,
+			  G_GNUC_UNUSED const GValue       *udt_schema,
+			  G_GNUC_UNUSED const GValue       *udt_name)
 {
 	// TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_mysql_meta__enums (GdaServerProvider  *prov,
-			GdaConnection      *cnc, 
-			GdaMetaStore       *store,
-			GdaMetaContext     *context,
-			GError            **error)
+_gda_mysql_meta__enums (G_GNUC_UNUSED GdaServerProvider  *prov,
+			G_GNUC_UNUSED GdaConnection      *cnc,
+			G_GNUC_UNUSED GdaMetaStore       *store,
+			G_GNUC_UNUSED GdaMetaContext     *context,
+			G_GNUC_UNUSED GError            **error)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;	
 }
 
 gboolean
-_gda_mysql_meta_enums (GdaServerProvider  *prov,
-		       GdaConnection      *cnc, 
-		       GdaMetaStore       *store,
-		       GdaMetaContext     *context,
-		       GError            **error,
-		       const GValue       *udt_catalog,
-		       const GValue       *udt_schema,
-		       const GValue       *udt_name)
+_gda_mysql_meta_enums (G_GNUC_UNUSED GdaServerProvider  *prov,
+		       G_GNUC_UNUSED GdaConnection      *cnc,
+		       G_GNUC_UNUSED GdaMetaStore       *store,
+		       G_GNUC_UNUSED GdaMetaContext     *context,
+		       G_GNUC_UNUSED GError            **error,
+		       G_GNUC_UNUSED const GValue       *udt_catalog,
+		       G_GNUC_UNUSED const GValue       *udt_schema,
+		       G_GNUC_UNUSED const GValue       *udt_name)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
@@ -499,104 +499,104 @@ _gda_mysql_meta_enums (GdaServerProvider  *prov,
 
 
 gboolean
-_gda_mysql_meta__domains (GdaServerProvider  *prov,
-			  GdaConnection      *cnc, 
-			  GdaMetaStore       *store,
-			  GdaMetaContext     *context,
-			  GError            **error)
+_gda_mysql_meta__domains (G_GNUC_UNUSED GdaServerProvider  *prov,
+			  G_GNUC_UNUSED GdaConnection      *cnc,
+			  G_GNUC_UNUSED GdaMetaStore       *store,
+			  G_GNUC_UNUSED GdaMetaContext     *context,
+			  G_GNUC_UNUSED GError            **error)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_domains (GdaServerProvider  *prov,
-			 GdaConnection      *cnc, 
-			 GdaMetaStore       *store,
-			 GdaMetaContext     *context,
-			 GError            **error,
-			 const GValue       *domain_catalog,
-			 const GValue       *domain_schema)
+_gda_mysql_meta_domains (G_GNUC_UNUSED GdaServerProvider  *prov,
+			 G_GNUC_UNUSED GdaConnection      *cnc,
+			 G_GNUC_UNUSED GdaMetaStore       *store,
+			 G_GNUC_UNUSED GdaMetaContext     *context,
+			 G_GNUC_UNUSED GError            **error,
+			 G_GNUC_UNUSED const GValue       *domain_catalog,
+			 G_GNUC_UNUSED const GValue       *domain_schema)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__constraints_dom (GdaServerProvider  *prov,
-				  GdaConnection      *cnc, 
-				  GdaMetaStore       *store,
-				  GdaMetaContext     *context,
-				  GError            **error)
+_gda_mysql_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider  *prov,
+				  G_GNUC_UNUSED GdaConnection      *cnc,
+				  G_GNUC_UNUSED GdaMetaStore       *store,
+				  G_GNUC_UNUSED GdaMetaContext     *context,
+				  G_GNUC_UNUSED GError            **error)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_constraints_dom (GdaServerProvider  *prov,
-				 GdaConnection      *cnc, 
-				 GdaMetaStore       *store,
-				 GdaMetaContext     *context,
-				 GError            **error,
-				 const GValue       *domain_catalog,
-				 const GValue       *domain_schema, 
-				 const GValue       *domain_name)
+_gda_mysql_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider  *prov,
+				 G_GNUC_UNUSED GdaConnection      *cnc,
+				 G_GNUC_UNUSED GdaMetaStore       *store,
+				 G_GNUC_UNUSED GdaMetaContext     *context,
+				 G_GNUC_UNUSED GError            **error,
+				 G_GNUC_UNUSED const GValue       *domain_catalog,
+				 G_GNUC_UNUSED const GValue       *domain_schema, 
+				 G_GNUC_UNUSED const GValue       *domain_name)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__el_types (GdaServerProvider  *prov,
-			   GdaConnection      *cnc, 
-			   GdaMetaStore       *store,
-			   GdaMetaContext     *context,
-			   GError            **error)
+_gda_mysql_meta__el_types (G_GNUC_UNUSED GdaServerProvider  *prov,
+			   G_GNUC_UNUSED GdaConnection      *cnc,
+			   G_GNUC_UNUSED GdaMetaStore       *store,
+			   G_GNUC_UNUSED GdaMetaContext     *context,
+			   G_GNUC_UNUSED GError            **error)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_el_types (GdaServerProvider  *prov,
-			  GdaConnection      *cnc,
-			  GdaMetaStore       *store,
-			  GdaMetaContext     *context,
-			  GError            **error,
-			  const GValue       *specific_name)
+_gda_mysql_meta_el_types (G_GNUC_UNUSED GdaServerProvider  *prov,
+			  G_GNUC_UNUSED GdaConnection      *cnc,
+			  G_GNUC_UNUSED GdaMetaStore       *store,
+			  G_GNUC_UNUSED GdaMetaContext     *context,
+			  G_GNUC_UNUSED GError            **error,
+			  G_GNUC_UNUSED const GValue       *specific_name)
 {
 	/* Feature not supported by MySQL. */
         return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__collations (GdaServerProvider  *prov,
-			     GdaConnection      *cnc, 
-			     GdaMetaStore       *store,
-			     GdaMetaContext     *context,
-			     GError            **error)
+_gda_mysql_meta__collations (G_GNUC_UNUSED GdaServerProvider  *prov,
+			     G_GNUC_UNUSED GdaConnection      *cnc,
+			     G_GNUC_UNUSED GdaMetaStore       *store,
+			     G_GNUC_UNUSED GdaMetaContext     *context,
+			     G_GNUC_UNUSED GError            **error)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_collations (GdaServerProvider  *prov,
-			    GdaConnection      *cnc, 
-			    GdaMetaStore       *store,
-			    GdaMetaContext     *context,
-			    GError            **error,
-			    const GValue       *collation_catalog,
-			    const GValue       *collation_schema, 
-			    const GValue       *collation_name_n)
+_gda_mysql_meta_collations (G_GNUC_UNUSED GdaServerProvider  *prov,
+			    G_GNUC_UNUSED GdaConnection      *cnc,
+			    G_GNUC_UNUSED GdaMetaStore       *store,
+			    G_GNUC_UNUSED GdaMetaContext     *context,
+			    G_GNUC_UNUSED GError            **error,
+			    G_GNUC_UNUSED const GValue       *collation_catalog,
+			    G_GNUC_UNUSED const GValue       *collation_schema,
+			    G_GNUC_UNUSED const GValue       *collation_name_n)
 {
 	/* Feature not supported by MySQL. */
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__character_sets (GdaServerProvider  *prov,
+_gda_mysql_meta__character_sets (G_GNUC_UNUSED GdaServerProvider  *prov,
 				 GdaConnection      *cnc, 
 				 GdaMetaStore       *store,
 				 GdaMetaContext     *context,
@@ -629,12 +629,12 @@ _gda_mysql_meta__character_sets (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_character_sets (GdaServerProvider  *prov,
+_gda_mysql_meta_character_sets (G_GNUC_UNUSED GdaServerProvider  *prov,
 				GdaConnection      *cnc, 
 				GdaMetaStore       *store,
 				GdaMetaContext     *context,
 				GError            **error,
-				const GValue       *chset_catalog,
+				G_GNUC_UNUSED const GValue       *chset_catalog,
 				const GValue       *chset_schema, 
 				const GValue       *chset_name_n)
 {
@@ -671,7 +671,7 @@ _gda_mysql_meta_character_sets (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__schemata (GdaServerProvider  *prov,
+_gda_mysql_meta__schemata (G_GNUC_UNUSED GdaServerProvider  *prov,
 			   GdaConnection      *cnc, 
 			   GdaMetaStore       *store,
 			   GdaMetaContext     *context,
@@ -703,12 +703,12 @@ _gda_mysql_meta__schemata (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_schemata (GdaServerProvider  *prov,
+_gda_mysql_meta_schemata (G_GNUC_UNUSED GdaServerProvider  *prov,
 			  GdaConnection      *cnc, 
 			  GdaMetaStore       *store,
 			  GdaMetaContext     *context,
 			  GError            **error, 
-			  const GValue       *catalog_name,
+			  G_GNUC_UNUSED const GValue       *catalog_name,
 			  const GValue       *schema_name_n)
 {
 	GdaDataModel *model;
@@ -761,7 +761,7 @@ _gda_mysql_meta_schemata (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__tables_views (GdaServerProvider  *prov,
+_gda_mysql_meta__tables_views (G_GNUC_UNUSED GdaServerProvider  *prov,
 			       GdaConnection      *cnc, 
 			       GdaMetaStore       *store,
 			       GdaMetaContext     *context,
@@ -821,12 +821,12 @@ _gda_mysql_meta__tables_views (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_tables_views (GdaServerProvider  *prov,
+_gda_mysql_meta_tables_views (G_GNUC_UNUSED GdaServerProvider  *prov,
 			      GdaConnection      *cnc, 
 			      GdaMetaStore       *store,
 			      GdaMetaContext     *context,
 			      GError            **error,
-			      const GValue       *table_catalog,
+			      G_GNUC_UNUSED const GValue       *table_catalog,
 			      const GValue       *table_schema, 
 			      const GValue       *table_name_n)
 {
@@ -1060,7 +1060,7 @@ map_mysql_type_to_gda (const GValue  *value)
 }
 
 gboolean
-_gda_mysql_meta__columns (GdaServerProvider  *prov,
+_gda_mysql_meta__columns (G_GNUC_UNUSED GdaServerProvider  *prov,
 			  GdaConnection      *cnc, 
 			  GdaMetaStore       *store,
 			  GdaMetaContext     *context,
@@ -1123,12 +1123,12 @@ _gda_mysql_meta__columns (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_columns (GdaServerProvider  *prov,
+_gda_mysql_meta_columns (G_GNUC_UNUSED GdaServerProvider  *prov,
 			 GdaConnection      *cnc, 
 			 GdaMetaStore       *store,
 			 GdaMetaContext     *context,
 			 GError            **error,
-			 const GValue       *table_catalog,
+			 G_GNUC_UNUSED const GValue       *table_catalog,
 			 const GValue       *table_schema, 
 			 const GValue       *table_name)
 {
@@ -1197,7 +1197,7 @@ _gda_mysql_meta_columns (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__view_cols (GdaServerProvider  *prov,
+_gda_mysql_meta__view_cols (G_GNUC_UNUSED GdaServerProvider  *prov,
 			    GdaConnection      *cnc, 
 			    GdaMetaStore       *store,
 			    GdaMetaContext     *context,
@@ -1237,12 +1237,12 @@ _gda_mysql_meta__view_cols (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_view_cols (GdaServerProvider  *prov,
+_gda_mysql_meta_view_cols (G_GNUC_UNUSED GdaServerProvider  *prov,
 			   GdaConnection      *cnc, 
 			   GdaMetaStore       *store,
 			   GdaMetaContext     *context,
 			   GError            **error,
-			   const GValue       *view_catalog,
+			   G_GNUC_UNUSED const GValue       *view_catalog,
 			   const GValue       *view_schema, 
 			   const GValue       *view_name)
 {
@@ -1277,7 +1277,7 @@ _gda_mysql_meta_view_cols (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__constraints_tab (GdaServerProvider  *prov,
+_gda_mysql_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider  *prov,
 				  GdaConnection      *cnc, 
 				  GdaMetaStore       *store,
 				  GdaMetaContext     *context,
@@ -1309,12 +1309,12 @@ _gda_mysql_meta__constraints_tab (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_constraints_tab (GdaServerProvider  *prov,
+_gda_mysql_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider  *prov,
 				 GdaConnection      *cnc, 
 				 GdaMetaStore       *store,
 				 GdaMetaContext     *context,
 				 GError            **error, 
-				 const GValue       *table_catalog,
+				 G_GNUC_UNUSED const GValue       *table_catalog,
 				 const GValue       *table_schema, 
 				 const GValue       *table_name,
 				 const GValue       *constraint_name_n)
@@ -1374,7 +1374,7 @@ _gda_mysql_meta_constraints_tab (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__constraints_ref (GdaServerProvider  *prov,
+_gda_mysql_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider  *prov,
 				  GdaConnection      *cnc, 
 				  GdaMetaStore       *store,
 				  GdaMetaContext     *context,
@@ -1414,12 +1414,12 @@ _gda_mysql_meta__constraints_ref (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_constraints_ref (GdaServerProvider  *prov,
+_gda_mysql_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider  *prov,
 				 GdaConnection      *cnc, 
 				 GdaMetaStore       *store,
 				 GdaMetaContext     *context,
 				 GError            **error,
-				 const GValue       *table_catalog,
+				 G_GNUC_UNUSED const GValue       *table_catalog,
 				 const GValue       *table_schema,
 				 const GValue       *table_name, 
 				 const GValue       *constraint_name)
@@ -1470,7 +1470,7 @@ _gda_mysql_meta_constraints_ref (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__key_columns (GdaServerProvider  *prov,
+_gda_mysql_meta__key_columns (G_GNUC_UNUSED GdaServerProvider  *prov,
 			      GdaConnection      *cnc, 
 			      GdaMetaStore       *store,
 			      GdaMetaContext     *context,
@@ -1502,12 +1502,12 @@ _gda_mysql_meta__key_columns (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_key_columns (GdaServerProvider  *prov,
+_gda_mysql_meta_key_columns (G_GNUC_UNUSED GdaServerProvider  *prov,
 			     GdaConnection      *cnc, 
 			     GdaMetaStore       *store,
 			     GdaMetaContext     *context,
 			     GError            **error,
-			     const GValue       *table_catalog,
+			     G_GNUC_UNUSED const GValue       *table_catalog,
 			     const GValue       *table_schema, 
 			     const GValue       *table_name,
 			     const GValue       *constraint_name)
@@ -1557,33 +1557,33 @@ _gda_mysql_meta_key_columns (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__check_columns (GdaServerProvider  *prov,
-				GdaConnection      *cnc, 
-				GdaMetaStore       *store,
-				GdaMetaContext     *context,
-				GError            **error)
+_gda_mysql_meta__check_columns (G_GNUC_UNUSED GdaServerProvider  *prov,
+				G_GNUC_UNUSED GdaConnection      *cnc,
+				G_GNUC_UNUSED GdaMetaStore       *store,
+				G_GNUC_UNUSED GdaMetaContext     *context,
+				G_GNUC_UNUSED GError            **error)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_check_columns (GdaServerProvider  *prov,
-			       GdaConnection      *cnc, 
-			       GdaMetaStore       *store,
-			       GdaMetaContext     *context,
-			       GError            **error,
-			       const GValue       *table_catalog,
-			       const GValue       *table_schema, 
-			       const GValue       *table_name,
-			       const GValue       *constraint_name)
+_gda_mysql_meta_check_columns (G_GNUC_UNUSED GdaServerProvider  *prov,
+			       G_GNUC_UNUSED GdaConnection      *cnc,
+			       G_GNUC_UNUSED GdaMetaStore       *store,
+			       G_GNUC_UNUSED GdaMetaContext     *context,
+			       G_GNUC_UNUSED GError            **error,
+			       G_GNUC_UNUSED const GValue       *table_catalog,
+			       G_GNUC_UNUSED const GValue       *table_schema,
+			       G_GNUC_UNUSED const GValue       *table_name,
+			       G_GNUC_UNUSED const GValue       *constraint_name)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__triggers (GdaServerProvider  *prov,
+_gda_mysql_meta__triggers (G_GNUC_UNUSED GdaServerProvider  *prov,
 			   GdaConnection      *cnc, 
 			   GdaMetaStore       *store,
 			   GdaMetaContext     *context,
@@ -1623,12 +1623,12 @@ _gda_mysql_meta__triggers (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_triggers (GdaServerProvider  *prov,
+_gda_mysql_meta_triggers (G_GNUC_UNUSED GdaServerProvider  *prov,
 			  GdaConnection      *cnc, 
 			  GdaMetaStore       *store,
 			  GdaMetaContext     *context,
 			  GError            **error,
-			  const GValue       *table_catalog,
+			  G_GNUC_UNUSED const GValue       *table_catalog,
 			  const GValue       *table_schema, 
 			  const GValue       *table_name)
 {
@@ -1671,7 +1671,7 @@ _gda_mysql_meta_triggers (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__routines (GdaServerProvider  *prov,
+_gda_mysql_meta__routines (G_GNUC_UNUSED GdaServerProvider  *prov,
 			   GdaConnection      *cnc, 
 			   GdaMetaStore       *store,
 			   GdaMetaContext     *context,
@@ -1703,12 +1703,12 @@ _gda_mysql_meta__routines (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta_routines (GdaServerProvider  *prov,
+_gda_mysql_meta_routines (G_GNUC_UNUSED GdaServerProvider  *prov,
 			  GdaConnection      *cnc, 
 			  GdaMetaStore       *store,
 			  GdaMetaContext     *context,
 			  GError            **error,
-			  const GValue       *routine_catalog,
+			  G_GNUC_UNUSED const GValue       *routine_catalog,
 			  const GValue       *routine_schema, 
 			  const GValue       *routine_name_n)
 {
@@ -1759,57 +1759,57 @@ _gda_mysql_meta_routines (GdaServerProvider  *prov,
 }
 
 gboolean
-_gda_mysql_meta__routine_col (GdaServerProvider  *prov,
-			      GdaConnection      *cnc, 
-			      GdaMetaStore       *store,
-			      GdaMetaContext     *context,
-			      GError            **error)
+_gda_mysql_meta__routine_col (G_GNUC_UNUSED GdaServerProvider  *prov,
+			      G_GNUC_UNUSED GdaConnection      *cnc,
+			      G_GNUC_UNUSED GdaMetaStore       *store,
+			      G_GNUC_UNUSED GdaMetaContext     *context,
+			      G_GNUC_UNUSED GError            **error)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_routine_col (GdaServerProvider  *prov,
-			     GdaConnection      *cnc, 
-			     GdaMetaStore       *store,
-			     GdaMetaContext     *context,
-			     GError            **error,
-			     const GValue       *rout_catalog,
-			     const GValue       *rout_schema, 
-			     const GValue       *rout_name)
+_gda_mysql_meta_routine_col (G_GNUC_UNUSED GdaServerProvider  *prov,
+			     G_GNUC_UNUSED GdaConnection      *cnc,
+			     G_GNUC_UNUSED GdaMetaStore       *store,
+			     G_GNUC_UNUSED GdaMetaContext     *context,
+			     G_GNUC_UNUSED GError            **error,
+			     G_GNUC_UNUSED const GValue       *rout_catalog,
+			     G_GNUC_UNUSED const GValue       *rout_schema,
+			     G_GNUC_UNUSED const GValue       *rout_name)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__routine_par (GdaServerProvider  *prov,
-			      GdaConnection      *cnc, 
-			      GdaMetaStore       *store,
-			      GdaMetaContext     *context,
-			      GError            **error)
+_gda_mysql_meta__routine_par (G_GNUC_UNUSED GdaServerProvider  *prov,
+			      G_GNUC_UNUSED GdaConnection      *cnc,
+			      G_GNUC_UNUSED GdaMetaStore       *store,
+			      G_GNUC_UNUSED GdaMetaContext     *context,
+			      G_GNUC_UNUSED GError            **error)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta_routine_par (GdaServerProvider  *prov,
-			     GdaConnection      *cnc, 
-			     GdaMetaStore       *store,
-			     GdaMetaContext     *context,
-			     GError            **error,
-			     const GValue       *rout_catalog,
-			     const GValue       *rout_schema, 
-			     const GValue       *rout_name)
+_gda_mysql_meta_routine_par (G_GNUC_UNUSED GdaServerProvider  *prov,
+			     G_GNUC_UNUSED GdaConnection      *cnc,
+			     G_GNUC_UNUSED GdaMetaStore       *store,
+			     G_GNUC_UNUSED GdaMetaContext     *context,
+			     G_GNUC_UNUSED GError            **error,
+			     G_GNUC_UNUSED const GValue       *rout_catalog,
+			     G_GNUC_UNUSED const GValue       *rout_schema,
+			     G_GNUC_UNUSED const GValue       *rout_name)
 {
 	//TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_mysql_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_mysql_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1846,10 +1846,10 @@ _gda_mysql_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_mysql_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_mysql_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			     const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
-			     const GValue *index_name_n)
+			     G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema,
+			     const GValue *table_name, const GValue *index_name_n)
 {
 	GdaDataModel *model;
 	gboolean retval;
@@ -1900,7 +1900,7 @@ _gda_mysql_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_mysql_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_mysql_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1937,9 +1937,9 @@ _gda_mysql_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_mysql_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_mysql_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *table_catalog, const GValue *table_schema,
+			    G_GNUC_UNUSED const GValue *table_catalog, const GValue *table_schema,
 			    const GValue *table_name, const GValue *index_name)
 {
 	GdaDataModel *model;
diff --git a/providers/reuseable/mysql/gda-mysql-parser.c b/providers/reuseable/mysql/gda-mysql-parser.c
index 1fbc9bd..b28ee99 100644
--- a/providers/reuseable/mysql/gda-mysql-parser.c
+++ b/providers/reuseable/mysql/gda-mysql-parser.c
@@ -79,6 +79,6 @@ gda_mysql_parser_class_init (GdaMysqlParserClass * klass)
 }
 
 static void
-gda_mysql_parser_init (GdaMysqlParser *parser)
+gda_mysql_parser_init (G_GNUC_UNUSED GdaMysqlParser *parser)
 {
 }
diff --git a/providers/reuseable/mysql/gda-mysql-reuseable.c b/providers/reuseable/mysql/gda-mysql-reuseable.c
index eb69aaf..4b9be8b 100644
--- a/providers/reuseable/mysql/gda-mysql-reuseable.c
+++ b/providers/reuseable/mysql/gda-mysql-reuseable.c
@@ -289,7 +289,8 @@ mysql_name_to_g_type (const gchar *name, const gchar *conv_func_name)
 }
 
 GType
-_gda_mysql_reuseable_get_g_type (GdaConnection *cnc, GdaProviderReuseable *rdata, const gchar *db_type)
+_gda_mysql_reuseable_get_g_type (G_GNUC_UNUSED GdaConnection *cnc, G_GNUC_UNUSED GdaProviderReuseable *rdata,
+				 const gchar *db_type)
 {
 	g_return_val_if_fail (db_type, GDA_TYPE_NULL);
 
@@ -318,7 +319,7 @@ _gda_mysql_reuseable_get_reserved_keywords_func (GdaProviderReuseable *rdata)
 }
 
 GdaSqlParser *
-_gda_mysql_reuseable_create_parser (GdaProviderReuseable *rdata)
+_gda_mysql_reuseable_create_parser (G_GNUC_UNUSED GdaProviderReuseable *rdata)
 {
 	return GDA_SQL_PARSER (g_object_new (GDA_TYPE_MYSQL_PARSER, NULL));
 }
diff --git a/providers/reuseable/postgres/gda-postgres-meta.c b/providers/reuseable/postgres/gda-postgres-meta.c
index 3387a85..aad3be3 100644
--- a/providers/reuseable/postgres/gda-postgres-meta.c
+++ b/providers/reuseable/postgres/gda-postgres-meta.c
@@ -315,7 +315,7 @@ _gda_postgres_provider_meta_init (GdaServerProvider *provider)
 #define GDA_POSTGRES_GET_REUSEABLE_DATA(cdata) (* ((GdaPostgresReuseable**) (cdata)))
 
 gboolean
-_gda_postgres_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -345,7 +345,7 @@ _gda_postgres_meta__info (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model, *proxy;
@@ -405,7 +405,7 @@ _gda_postgres_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -433,7 +433,7 @@ _gda_postgres_meta__udt (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *udt_catalog, const GValue *udt_schema)
 {
@@ -466,7 +466,7 @@ _gda_postgres_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -495,7 +495,7 @@ _gda_postgres_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
 {
@@ -530,8 +530,9 @@ _gda_postgres_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_postgres_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error)
 {
 	GdaPostgresReuseable *rdata;
 
@@ -545,9 +546,10 @@ _gda_postgres_meta__enums (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			  const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_postgres_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+			  G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	GdaPostgresReuseable *rdata;
 
@@ -561,7 +563,7 @@ _gda_postgres_meta_enums (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -589,7 +591,7 @@ _gda_postgres_meta__domains (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			    const GValue *domain_catalog, const GValue *domain_schema)
 {
@@ -623,7 +625,7 @@ _gda_postgres_meta_domains (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -651,7 +653,7 @@ _gda_postgres_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc
 }
 
 gboolean
-_gda_postgres_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				    const GValue *domain_catalog, const GValue *domain_schema, 
 				    const GValue *domain_name)
@@ -688,7 +690,7 @@ _gda_postgres_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -721,7 +723,7 @@ _gda_postgres_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *specific_name)
 {
@@ -789,43 +791,48 @@ _gda_postgres_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_postgres_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error)
 {
 	/* nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_postgres_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			       const GValue *collation_catalog, const GValue *collation_schema, 
-			       const GValue *collation_name_n)
+_gda_postgres_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const
+			       G_GNUC_UNUSED GValue *collation_catalog,
+			       G_GNUC_UNUSED const GValue *collation_schema,
+			       G_GNUC_UNUSED const GValue *collation_name_n)
 {
 	/* nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_postgres_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_postgres_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				    G_GNUC_UNUSED GError **error)
 {
 	/* nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_postgres_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				   const GValue *chset_catalog, const GValue *chset_schema, 
-				   const GValue *chset_name_n)
+_gda_postgres_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *chset_catalog,
+				   G_GNUC_UNUSED const GValue *chset_schema,
+				   G_GNUC_UNUSED const GValue *chset_name_n)
 {
 	/* nothing to do */
 	return TRUE;
 }
 
 gboolean
-_gda_postgres_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -853,7 +860,7 @@ _gda_postgres_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			     const GValue *catalog_name, const GValue *schema_name_n)
 {
@@ -902,7 +909,7 @@ _gda_postgres_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *tables_model, *views_model;
@@ -959,7 +966,7 @@ _gda_postgres_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 				 const GValue *table_catalog, const GValue *table_schema, const GValue *table_name_n)
 {
@@ -1039,7 +1046,7 @@ _gda_postgres_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 	return retval;
 }
 
-gboolean _gda_postgres_meta__columns (GdaServerProvider *prov, GdaConnection *cnc, 
+gboolean _gda_postgres_meta__columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model, *proxy;
@@ -1133,7 +1140,7 @@ gboolean _gda_postgres_meta__columns (GdaServerProvider *prov, GdaConnection *cn
 }
 
 gboolean
-_gda_postgres_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			    const GValue *table_catalog, const GValue *table_schema, const GValue *table_name)
 {
@@ -1241,7 +1248,7 @@ _gda_postgres_meta_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1274,7 +1281,7 @@ _gda_postgres_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *view_catalog, const GValue *view_schema, 
 			      const GValue *view_name)
@@ -1311,7 +1318,7 @@ _gda_postgres_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1339,7 +1346,7 @@ _gda_postgres_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc
 }
 
 gboolean
-_gda_postgres_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				    const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 				    const GValue *constraint_name_n)
@@ -1402,7 +1409,7 @@ _gda_postgres_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1430,7 +1437,7 @@ _gda_postgres_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc
 }
 
 gboolean
-_gda_postgres_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				    const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
 				    const GValue *constraint_name)
@@ -1476,7 +1483,7 @@ _gda_postgres_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1504,7 +1511,7 @@ _gda_postgres_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean 
-_gda_postgres_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
 				const GValue *constraint_name)
@@ -1550,7 +1557,7 @@ _gda_postgres_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1578,7 +1585,7 @@ _gda_postgres_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				  const GValue *table_catalog, const GValue *table_schema, 
 				  const GValue *table_name, const GValue *constraint_name)
@@ -1624,7 +1631,7 @@ _gda_postgres_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1657,7 +1664,7 @@ _gda_postgres_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *table_catalog, const GValue *table_schema, 
 			     const GValue *table_name)
@@ -1699,7 +1706,7 @@ _gda_postgres_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1732,7 +1739,7 @@ _gda_postgres_meta__routines (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *routine_catalog, const GValue *routine_schema, 
 			     const GValue *routine_name_n)
@@ -1781,7 +1788,7 @@ _gda_postgres_meta_routines (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model, *proxy;
@@ -1844,7 +1851,7 @@ _gda_postgres_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				const GValue *rout_catalog, const GValue *rout_schema, 
 				const GValue *rout_name)
@@ -1917,7 +1924,7 @@ _gda_postgres_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1950,7 +1957,7 @@ _gda_postgres_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				const GValue *rout_catalog, const GValue *rout_schema, 
 				const GValue *rout_name)
@@ -1992,7 +1999,7 @@ _gda_postgres_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -2034,7 +2041,7 @@ _gda_postgres_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error,
 				const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 				const GValue *index_name_n)
@@ -2097,8 +2104,8 @@ _gda_postgres_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 static GdaDataModel *
-concatenate_index_details (GdaServerProvider *prov, GdaConnection *cnc, GdaMetaStore *store,
-			   GdaDataModel *index_oid_model, GError **error)
+concatenate_index_details (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, GdaDataModel *index_oid_model, GError **error)
 {
 	GdaDataModel *concat = NULL;
 	gint i, nrows;
@@ -2179,7 +2186,7 @@ concatenate_index_details (GdaServerProvider *prov, GdaConnection *cnc, GdaMetaS
 }
 
 gboolean
-_gda_postgres_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model, *concat;
@@ -2218,7 +2225,7 @@ _gda_postgres_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_postgres_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_postgres_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			       const GValue *table_catalog, const GValue *table_schema,
 			       const GValue *table_name, const GValue *index_name)
diff --git a/providers/reuseable/postgres/gda-postgres-parser.c b/providers/reuseable/postgres/gda-postgres-parser.c
index 6179309..dd0a7b7 100644
--- a/providers/reuseable/postgres/gda-postgres-parser.c
+++ b/providers/reuseable/postgres/gda-postgres-parser.c
@@ -79,6 +79,6 @@ gda_postgres_parser_class_init (GdaPostgresParserClass * klass)
 }
 
 static void
-gda_postgres_parser_init (GdaPostgresParser *parser)
+gda_postgres_parser_init (G_GNUC_UNUSED GdaPostgresParser *parser)
 {
 }
diff --git a/providers/reuseable/postgres/gda-postgres-reuseable.c b/providers/reuseable/postgres/gda-postgres-reuseable.c
index 1fa1aa0..4d6c57c 100644
--- a/providers/reuseable/postgres/gda-postgres-reuseable.c
+++ b/providers/reuseable/postgres/gda-postgres-reuseable.c
@@ -507,7 +507,7 @@ _gda_postgres_reuseable_get_reserved_keywords_func (GdaProviderReuseable *rdata)
 }
 
 GdaSqlParser *
-_gda_postgres_reuseable_create_parser (GdaProviderReuseable *rdata)
+_gda_postgres_reuseable_create_parser (G_GNUC_UNUSED GdaProviderReuseable *rdata)
 {
 	return GDA_SQL_PARSER (g_object_new (GDA_TYPE_POSTGRES_PARSER, NULL));
 }
diff --git a/providers/skel-implementation/capi/gda-capi-blob-op.c b/providers/skel-implementation/capi/gda-capi-blob-op.c
index 843ce27..77bede1 100644
--- a/providers/skel-implementation/capi/gda-capi-blob-op.c
+++ b/providers/skel-implementation/capi/gda-capi-blob-op.c
@@ -73,7 +73,7 @@ gda_capi_blob_op_get_type (void)
 
 static void
 gda_capi_blob_op_init (GdaCapiBlobOp *op,
-			   GdaCapiBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaCapiBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_CAPI_BLOB_OP (op));
 
@@ -176,7 +176,7 @@ gda_capi_blob_op_read (GdaBlobOp *op, GdaBlob *blob, glong offset, glong size)
  * Blob write request
  */
 static glong
-gda_capi_blob_op_write (GdaBlobOp *op, GdaBlob *blob, glong offset)
+gda_capi_blob_op_write (GdaBlobOp *op, GdaBlob *blob, G_GNUC_UNUSED glong offset)
 {
 	GdaCapiBlobOp *bop;
 	GdaBinary *bin;
diff --git a/providers/skel-implementation/capi/gda-capi-meta.c b/providers/skel-implementation/capi/gda-capi-meta.c
index b39c937..328f162 100644
--- a/providers/skel-implementation/capi/gda-capi-meta.c
+++ b/providers/skel-implementation/capi/gda-capi-meta.c
@@ -95,7 +95,7 @@ _gda_capi_provider_meta_init (GdaServerProvider *provider)
 }
 
 gboolean
-_gda_capi_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_capi_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
 		      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model = NULL;
@@ -117,23 +117,24 @@ _gda_capi_meta__info (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_capi_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
-		     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_capi_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
 		    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		    const GValue *udt_catalog, const GValue *udt_schema)
 {
@@ -162,34 +163,38 @@ _gda_capi_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_capi_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_capi_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_capi_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+			 G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_capi_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
-		       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+		       G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;	
 }
 
 gboolean
-_gda_capi_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
-		      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-		      const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
+_gda_capi_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+		      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+		      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *udt_catalog,
+		      G_GNUC_UNUSED const GValue *udt_schema, G_GNUC_UNUSED const GValue *udt_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
@@ -197,339 +202,374 @@ _gda_capi_meta_enums (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_capi_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			const GValue *domain_catalog, const GValue *domain_schema)
+_gda_capi_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+			G_GNUC_UNUSED const GValue *domain_schema)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				const GValue *domain_catalog, const GValue *domain_schema, 
-				const GValue *domain_name)
+_gda_capi_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *domain_catalog,
+				G_GNUC_UNUSED const GValue *domain_schema,
+				G_GNUC_UNUSED const GValue *domain_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *specific_name)
+_gda_capi_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *specific_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *collation_catalog, const GValue *collation_schema, 
-			   const GValue *collation_name_n)
+_gda_capi_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *collation_catalog,
+			   G_GNUC_UNUSED const GValue *collation_schema,
+			   G_GNUC_UNUSED const GValue *collation_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			       const GValue *chset_catalog, const GValue *chset_schema, 
-			       const GValue *chset_name_n)
+_gda_capi_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *chset_catalog,
+			       G_GNUC_UNUSED const GValue *chset_schema,
+			       G_GNUC_UNUSED const GValue *chset_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__schemata (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error, 
-			 const GValue *catalog_name, const GValue *schema_name_n)
+_gda_capi_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *catalog_name,
+			 G_GNUC_UNUSED const GValue *schema_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__tables_views (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			     const GValue *table_catalog, const GValue *table_schema, 
-			     const GValue *table_name_n)
+_gda_capi_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			     G_GNUC_UNUSED const GValue *table_schema,
+			     G_GNUC_UNUSED const GValue *table_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			const GValue *table_catalog, const GValue *table_schema, 
-			const GValue *table_name)
+_gda_capi_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			  const GValue *view_catalog, const GValue *view_schema, 
-			  const GValue *view_name)
+_gda_capi_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *view_catalog,
+			  G_GNUC_UNUSED const GValue *view_schema, G_GNUC_UNUSED const GValue *view_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error, 
-				const GValue *table_catalog, const GValue *table_schema, 
-				const GValue *table_name, const GValue *constraint_name_n)
+_gda_capi_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+				G_GNUC_UNUSED const GValue *table_schema,
+				G_GNUC_UNUSED const GValue *table_name,
+				G_GNUC_UNUSED const GValue *constraint_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
-				 GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				 G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
-				GdaMetaStore *store, GdaMetaContext *context, GError **error,
-				const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
-				const GValue *constraint_name)
+_gda_capi_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+				G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+				G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+				G_GNUC_UNUSED const GValue *table_schema,
+				G_GNUC_UNUSED const GValue *table_name,
+				G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *table_catalog, const GValue *table_schema, 
-			    const GValue *table_name, const GValue *constraint_name)
+_gda_capi_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			    G_GNUC_UNUSED const GValue *table_schema,
+			    G_GNUC_UNUSED const GValue *table_name,
+			    G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			       G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			       G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
-			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			      const GValue *table_catalog, const GValue *table_schema, 
-			      const GValue *table_name, const GValue *constraint_name)
+_gda_capi_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			      G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			      G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			      G_GNUC_UNUSED const GValue *table_schema,
+			      G_GNUC_UNUSED const GValue *table_name,
+			      G_GNUC_UNUSED const GValue *constraint_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *table_catalog, const GValue *table_schema, 
-			 const GValue *table_name)
+_gda_capi_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			 G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__routines (GdaServerProvider *prov, GdaConnection *cnc, 
-			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__routines (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			  G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			  G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
-			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			 const GValue *routine_catalog, const GValue *routine_schema, 
-			 const GValue *routine_name_n)
+_gda_capi_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			 G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *routine_catalog,
+			 G_GNUC_UNUSED const GValue *routine_schema,
+			 G_GNUC_UNUSED const GValue *routine_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *rout_catalog, const GValue *rout_schema, 
-			    const GValue *rout_name)
+_gda_capi_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			    G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context, G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *rout_catalog, const GValue *rout_schema, 
-			    const GValue *rout_name)
+_gda_capi_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *rout_catalog,
+			    G_GNUC_UNUSED const GValue *rout_schema, G_GNUC_UNUSED const GValue *rout_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			     G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			     G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			    const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
-			    const GValue *index_name_n)
+_gda_capi_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			    G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			    G_GNUC_UNUSED const GValue *index_name_n)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
+_gda_capi_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			    G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			    G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return TRUE;
 }
 
 gboolean
-_gda_capi_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
-			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
-			   const GValue *table_catalog, const GValue *table_schema,
-			   const GValue *table_name, const GValue *index_name)
+_gda_capi_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED GdaMetaStore *store, G_GNUC_UNUSED GdaMetaContext *context,
+			   G_GNUC_UNUSED GError **error, G_GNUC_UNUSED const GValue *table_catalog,
+			   G_GNUC_UNUSED const GValue *table_schema, G_GNUC_UNUSED const GValue *table_name,
+			   G_GNUC_UNUSED const GValue *index_name)
 {
 	TO_IMPLEMENT;
 	return TRUE;
diff --git a/providers/skel-implementation/capi/gda-capi-parser.c b/providers/skel-implementation/capi/gda-capi-parser.c
index c445bab..52bd71a 100644
--- a/providers/skel-implementation/capi/gda-capi-parser.c
+++ b/providers/skel-implementation/capi/gda-capi-parser.c
@@ -79,6 +79,6 @@ gda_capi_parser_class_init (GdaCapiParserClass * klass)
 }
 
 static void
-gda_capi_parser_init (GdaCapiParser *parser)
+gda_capi_parser_init (G_GNUC_UNUSED GdaCapiParser *parser)
 {
 }
diff --git a/providers/skel-implementation/capi/gda-capi-provider.c b/providers/skel-implementation/capi/gda-capi-provider.c
index c5d407d..8b03584 100644
--- a/providers/skel-implementation/capi/gda-capi-provider.c
+++ b/providers/skel-implementation/capi/gda-capi-provider.c
@@ -259,7 +259,7 @@ gda_capi_provider_class_init (GdaCapiProviderClass *klass)
 }
 
 static void
-gda_capi_provider_init (GdaCapiProvider *capi_prv, GdaCapiProviderClass *klass)
+gda_capi_provider_init (GdaCapiProvider *capi_prv, G_GNUC_UNUSED GdaCapiProviderClass *klass)
 {
 	InternalStatementItem i;
 	GdaSqlParser *parser;
@@ -309,7 +309,7 @@ gda_capi_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_capi_provider_get_name (GdaServerProvider *provider)
+gda_capi_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return CAPI_PROVIDER_NAME;
 }
@@ -318,7 +318,7 @@ gda_capi_provider_get_name (GdaServerProvider *provider)
  * Get provider's version, no need to change this
  */
 static const gchar *
-gda_capi_provider_get_version (GdaServerProvider *provider)
+gda_capi_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -336,8 +336,9 @@ gda_capi_provider_get_version (GdaServerProvider *provider)
  */
 static gboolean
 gda_capi_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
-				   GdaQuarkList *params, GdaQuarkList *auth,
-				   guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				   GdaQuarkList *params, G_GNUC_UNUSED GdaQuarkList *auth,
+				   G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				   G_GNUC_UNUSED gpointer cb_data)
 {
 	g_return_val_if_fail (GDA_IS_CAPI_PROVIDER (provider), FALSE);
 	g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -459,7 +460,7 @@ gda_capi_provider_get_database (GdaServerProvider *provider, GdaConnection *cnc)
  */
 static gboolean
 gda_capi_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				      GdaServerOperationType type, GdaSet *options)
+				      GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -496,7 +497,8 @@ gda_capi_provider_supports_operation (GdaServerProvider *provider, GdaConnection
  */
 static GdaServerOperation *
 gda_capi_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				    GdaServerOperationType type, GdaSet *options, GError **error)
+				    GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options,
+				    GError **error)
 {
         gchar *file;
         GdaServerOperation *op;
@@ -596,8 +598,9 @@ gda_capi_provider_render_operation (GdaServerProvider *provider, GdaConnection *
  */
 static gboolean
 gda_capi_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				     GdaServerOperation *op, guint *task_id, 
-				     GdaServerProviderAsyncCallback async_cb, gpointer cb_data, GError **error)
+				     GdaServerOperation *op, G_GNUC_UNUSED guint *task_id,
+				     GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data,
+				     GError **error)
 {
         GdaServerOperationType optype;
 
@@ -627,8 +630,9 @@ gda_capi_provider_perform_operation (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_capi_provider_begin_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-				     const gchar *name, GdaTransactionIsolation level,
-				     GError **error)
+				     G_GNUC_UNUSED const gchar *name,
+				     G_GNUC_UNUSED GdaTransactionIsolation level,
+				     G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -649,7 +653,7 @@ gda_capi_provider_begin_transaction (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_capi_provider_commit_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-				      const gchar *name, GError **error)
+				      G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -670,7 +674,7 @@ gda_capi_provider_commit_transaction (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_capi_provider_rollback_transaction (GdaServerProvider *provider, GdaConnection *cnc,
-					const gchar *name, GError **error)
+					G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -691,7 +695,7 @@ gda_capi_provider_rollback_transaction (GdaServerProvider *provider, GdaConnecti
  */
 static gboolean
 gda_capi_provider_add_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
-				 const gchar *name, GError **error)
+				 G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -712,7 +716,7 @@ gda_capi_provider_add_savepoint (GdaServerProvider *provider, GdaConnection *cnc
  */
 static gboolean
 gda_capi_provider_rollback_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
-				      const gchar *name, GError **error)
+				      G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -733,7 +737,7 @@ gda_capi_provider_rollback_savepoint (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_capi_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
-				    const gchar *name, GError **error)
+				    G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -880,7 +884,7 @@ gda_capi_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConnect
  * by the database. See the PostgreSQL provider implementation for an example.
  */
 static GdaSqlParser *
-gda_capi_provider_create_parser (GdaServerProvider *provider, GdaConnection *cnc)
+gda_capi_provider_create_parser (G_GNUC_UNUSED GdaServerProvider *provider, G_GNUC_UNUSED GdaConnection *cnc)
 {
 	TO_IMPLEMENT;
 	return NULL;
@@ -1164,7 +1168,7 @@ gda_capi_provider_statement_execute (GdaServerProvider *provider, GdaConnection
 
 
 		/* actual binding using the C API, for parameter at position @i */
-		const GValue *value = gda_holder_get_value (h);
+		/* const GValue *value = gda_holder_get_value (h); */
 		TO_IMPLEMENT;
 	}
 		
@@ -1260,7 +1264,7 @@ gda_capi_statement_rewrite (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_capi_provider_xa_start (GdaServerProvider *provider, GdaConnection *cnc, 
-				const GdaXaTransactionId *xid, GError **error)
+				const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -1282,7 +1286,7 @@ gda_capi_provider_xa_start (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_capi_provider_xa_end (GdaServerProvider *provider, GdaConnection *cnc, 
-			      const GdaXaTransactionId *xid, GError **error)
+			      const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -1303,7 +1307,7 @@ gda_capi_provider_xa_end (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_capi_provider_xa_prepare (GdaServerProvider *provider, GdaConnection *cnc, 
-				  const GdaXaTransactionId *xid, GError **error)
+				  const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -1325,7 +1329,7 @@ gda_capi_provider_xa_prepare (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_capi_provider_xa_commit (GdaServerProvider *provider, GdaConnection *cnc, 
-				 const GdaXaTransactionId *xid, GError **error)
+				 const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -1346,7 +1350,7 @@ gda_capi_provider_xa_commit (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static gboolean
 gda_capi_provider_xa_rollback (GdaServerProvider *provider, GdaConnection *cnc, 
-				   const GdaXaTransactionId *xid, GError **error)
+				   const GdaXaTransactionId *xid, G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
@@ -1369,7 +1373,7 @@ gda_capi_provider_xa_rollback (GdaServerProvider *provider, GdaConnection *cnc,
  */
 static GList *
 gda_capi_provider_xa_recover (GdaServerProvider *provider, GdaConnection *cnc,
-				  GError **error)
+				  G_GNUC_UNUSED GError **error)
 {
 	CapiConnectionData *cdata;
 
diff --git a/providers/skel-implementation/capi/gda-capi-pstmt.c b/providers/skel-implementation/capi/gda-capi-pstmt.c
index 9d20644..682926e 100644
--- a/providers/skel-implementation/capi/gda-capi-pstmt.c
+++ b/providers/skel-implementation/capi/gda-capi-pstmt.c
@@ -73,7 +73,7 @@ gda_capi_pstmt_class_init (GdaCapiPStmtClass *klass)
 }
 
 static void
-gda_capi_pstmt_init (GdaCapiPStmt *pstmt, GdaCapiPStmtClass *klass)
+gda_capi_pstmt_init (GdaCapiPStmt *pstmt, G_GNUC_UNUSED GdaCapiPStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	
diff --git a/providers/skel-implementation/capi/gda-capi-recordset.c b/providers/skel-implementation/capi/gda-capi-recordset.c
index 4a02b81..fc88cc1 100644
--- a/providers/skel-implementation/capi/gda-capi-recordset.c
+++ b/providers/skel-implementation/capi/gda-capi-recordset.c
@@ -55,7 +55,7 @@ static GObjectClass *parent_class = NULL;
  */
 static void
 gda_capi_recordset_init (GdaCapiRecordset *recset,
-			   GdaCapiRecordsetClass *klass)
+			   G_GNUC_UNUSED GdaCapiRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_CAPI_RECORDSET (recset));
 	recset->priv = g_new0 (GdaCapiRecordsetPrivate, 1);
@@ -253,7 +253,8 @@ gda_capi_recordset_fetch_nb_rows (GdaDataSelect *model)
  * as it won't be used anymore to fetch rows.
  */
 static gboolean 
-gda_capi_recordset_fetch_random (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_capi_recordset_fetch_random (GdaDataSelect *model, G_GNUC_UNUSED GdaRow **prow, G_GNUC_UNUSED gint rownum,
+				 G_GNUC_UNUSED GError **error)
 {
 	GdaCapiRecordset *imodel;
 
@@ -267,6 +268,7 @@ gda_capi_recordset_fetch_random (GdaDataSelect *model, GdaRow **prow, gint rownu
 /*
  * Create and "give" filled #GdaRow object for all the rows in the model
  */
+#if 0
 static gboolean
 gda_capi_recordset_store_all (GdaDataSelect *model, GError **error)
 {
@@ -283,6 +285,7 @@ gda_capi_recordset_store_all (GdaDataSelect *model, GError **error)
 	}
 	return TRUE;
 }
+#endif
 
 /*
  * Create a new filled #GdaRow object for the next cursor row, and put it into *prow.
@@ -297,9 +300,10 @@ gda_capi_recordset_store_all (GdaDataSelect *model, GError **error)
  * can use gda_data_select_take_row().
  */
 static gboolean 
-gda_capi_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_capi_recordset_fetch_next (G_GNUC_UNUSED GdaDataSelect *model, G_GNUC_UNUSED GdaRow **prow,
+			       G_GNUC_UNUSED gint rownum, G_GNUC_UNUSED GError **error)
 {
-	GdaCapiRecordset *imodel = (GdaCapiRecordset*) model;
+	/* GdaCapiRecordset *imodel = (GdaCapiRecordset*) model; */
 
 	TO_IMPLEMENT;
 
@@ -319,9 +323,10 @@ gda_capi_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, gint rownum,
  * can use gda_data_select_take_row().
  */
 static gboolean 
-gda_capi_recordset_fetch_prev (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_capi_recordset_fetch_prev (G_GNUC_UNUSED GdaDataSelect *model, G_GNUC_UNUSED GdaRow **prow,
+			       G_GNUC_UNUSED gint rownum, G_GNUC_UNUSED GError **error)
 {
-	GdaCapiRecordset *imodel = (GdaCapiRecordset*) model;
+	/* GdaCapiRecordset *imodel = (GdaCapiRecordset*) model; */
 
 	TO_IMPLEMENT;
 
@@ -341,9 +346,10 @@ gda_capi_recordset_fetch_prev (GdaDataSelect *model, GdaRow **prow, gint rownum,
  * can use gda_data_select_take_row().
  */
 static gboolean 
-gda_capi_recordset_fetch_at (GdaDataSelect *model, GdaRow **prow, gint rownum, GError **error)
+gda_capi_recordset_fetch_at (G_GNUC_UNUSED GdaDataSelect *model, G_GNUC_UNUSED GdaRow **prow,
+			     G_GNUC_UNUSED gint rownum, G_GNUC_UNUSED GError **error)
 {
-	GdaCapiRecordset *imodel = (GdaCapiRecordset*) model;
+	/* GdaCapiRecordset *imodel = (GdaCapiRecordset*) model; */
 	
 	TO_IMPLEMENT;
 
diff --git a/providers/skel-implementation/capi/libmain.c b/providers/skel-implementation/capi/libmain.c
index cefa1e1..9f55a54 100644
--- a/providers/skel-implementation/capi/libmain.c
+++ b/providers/skel-implementation/capi/libmain.c
@@ -36,14 +36,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/providers/skel-implementation/models/gda-models-provider.c b/providers/skel-implementation/models/gda-models-provider.c
index d2e2803..4577606 100644
--- a/providers/skel-implementation/models/gda-models-provider.c
+++ b/providers/skel-implementation/models/gda-models-provider.c
@@ -69,7 +69,8 @@ gda_models_provider_class_init (GdaModelsProviderClass *klass)
 }
 
 static void
-gda_models_provider_init (GdaModelsProvider *pg_prv, GdaModelsProviderClass *klass)
+gda_models_provider_init (G_GNUC_UNUSED GdaModelsProvider *pg_prv,
+			  G_GNUC_UNUSED GdaModelsProviderClass *klass)
 {
 	/* initialization of provider instance is to add here */
 	TO_IMPLEMENT;
@@ -116,7 +117,7 @@ gda_models_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_models_provider_get_name (GdaServerProvider *provider)
+gda_models_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return MODELS_PROVIDER_NAME;
 }
@@ -125,7 +126,7 @@ gda_models_provider_get_name (GdaServerProvider *provider)
  * Get version request
  */
 static const gchar *
-gda_models_provider_get_version (GdaServerProvider *provider)
+gda_models_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -145,8 +146,9 @@ gda_models_provider_get_version (GdaServerProvider *provider)
  */
 static gboolean
 gda_models_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
-				     GdaQuarkList *params, GdaQuarkList *auth,
-				     guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				     GdaQuarkList *params, G_GNUC_UNUSED GdaQuarkList *auth,
+				     G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				     G_GNUC_UNUSED gpointer cb_data)
 {
 	g_return_val_if_fail (GDA_IS_MODELS_PROVIDER (provider), FALSE);
 	g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
diff --git a/providers/skel-implementation/models/libmain.c b/providers/skel-implementation/models/libmain.c
index a9beaca..64edf1a 100644
--- a/providers/skel-implementation/models/libmain.c
+++ b/providers/skel-implementation/models/libmain.c
@@ -37,14 +37,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/providers/sqlcipher/libmain.c b/providers/sqlcipher/libmain.c
index 3105c96..3c42557 100644
--- a/providers/sqlcipher/libmain.c
+++ b/providers/sqlcipher/libmain.c
@@ -37,14 +37,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/providers/sqlite/libmain.c b/providers/sqlite/libmain.c
index cf72417..6398d6d 100644
--- a/providers/sqlite/libmain.c
+++ b/providers/sqlite/libmain.c
@@ -38,14 +38,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/providers/web/gda-web-blob-op.c b/providers/web/gda-web-blob-op.c
index 89f0002..e95eaee 100644
--- a/providers/web/gda-web-blob-op.c
+++ b/providers/web/gda-web-blob-op.c
@@ -73,7 +73,7 @@ gda_web_blob_op_get_type (void)
 
 static void
 gda_web_blob_op_init (GdaWebBlobOp *op,
-			   GdaWebBlobOpClass *klass)
+			   G_GNUC_UNUSED GdaWebBlobOpClass *klass)
 {
 	g_return_if_fail (GDA_IS_WEB_BLOB_OP (op));
 
@@ -176,7 +176,7 @@ gda_web_blob_op_read (GdaBlobOp *op, GdaBlob *blob, glong offset, glong size)
  * Blob write request
  */
 static glong
-gda_web_blob_op_write (GdaBlobOp *op, GdaBlob *blob, glong offset)
+gda_web_blob_op_write (GdaBlobOp *op, GdaBlob *blob, G_GNUC_UNUSED glong offset)
 {
 	GdaWebBlobOp *bop;
 	GdaBinary *bin;
diff --git a/providers/web/gda-web-meta.c b/providers/web/gda-web-meta.c
index c978f19..2245cbe 100644
--- a/providers/web/gda-web-meta.c
+++ b/providers/web/gda-web-meta.c
@@ -39,7 +39,7 @@
  * Meta initialization
  */
 void
-_gda_web_provider_meta_init (GdaServerProvider *provider)
+_gda_web_provider_meta_init (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 }
 
@@ -115,7 +115,7 @@ run_meta_command (GdaConnection *cnc, WebConnectionData *cdata, const gchar *typ
 }
 
 gboolean
-_gda_web_meta__info (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__info (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -146,7 +146,7 @@ _gda_web_meta__info (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -177,7 +177,7 @@ _gda_web_meta__btypes (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -200,7 +200,7 @@ _gda_web_meta__udt (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_udt (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_udt (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		   const GValue *udt_catalog, const GValue *udt_schema)
 {
@@ -226,7 +226,7 @@ _gda_web_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_web_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -249,7 +249,7 @@ _gda_web_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_udt_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
 {
@@ -275,7 +275,7 @@ _gda_web_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__enums (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -298,7 +298,7 @@ _gda_web_meta__enums (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_enums (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_enums (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		     const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
 {
@@ -325,7 +325,7 @@ _gda_web_meta_enums (GdaServerProvider *prov, GdaConnection *cnc,
 
 
 gboolean
-_gda_web_meta__domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -348,7 +348,7 @@ _gda_web_meta__domains (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_domains (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_domains (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		       const GValue *domain_catalog, const GValue *domain_schema)
 {
@@ -373,7 +373,7 @@ _gda_web_meta_domains (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -396,7 +396,7 @@ _gda_web_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_constraints_dom (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			       const GValue *domain_catalog, const GValue *domain_schema, 
 			       const GValue *domain_name)
@@ -423,7 +423,7 @@ _gda_web_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -446,7 +446,7 @@ _gda_web_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_el_types (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *specific_name)
 {
@@ -471,7 +471,7 @@ _gda_web_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__collations (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__collations (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -494,7 +494,7 @@ _gda_web_meta__collations (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_collations (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_collations (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			  const GValue *collation_catalog, const GValue *collation_schema, 
 			  const GValue *collation_name_n)
@@ -522,7 +522,7 @@ _gda_web_meta_collations (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__character_sets (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -545,7 +545,7 @@ _gda_web_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_character_sets (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			      const GValue *chset_catalog, const GValue *chset_schema, 
 			      const GValue *chset_name_n)
@@ -572,7 +572,7 @@ _gda_web_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -603,7 +603,7 @@ _gda_web_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_schemata (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			const GValue *catalog_name, const GValue *schema_name_n)
 {
@@ -641,7 +641,7 @@ _gda_web_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *tables_model, *views_model;
@@ -688,7 +688,7 @@ _gda_web_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_tables_views (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			    const GValue *table_catalog, const GValue *table_schema, 
 			    const GValue *table_name_n)
@@ -756,7 +756,7 @@ _gda_web_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -787,7 +787,7 @@ _gda_web_meta__columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 		       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 		       const GValue *table_catalog, const GValue *table_schema, 
 		       const GValue *table_name)
@@ -824,7 +824,7 @@ _gda_web_meta_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -847,7 +847,7 @@ _gda_web_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_view_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			 const GValue *view_catalog, const GValue *view_schema, 
 			 const GValue *view_name)
@@ -874,7 +874,7 @@ _gda_web_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -905,7 +905,7 @@ _gda_web_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_constraints_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error, 
 			       const GValue *table_catalog, const GValue *table_schema, 
 			       const GValue *table_name, const GValue *constraint_name_n)
@@ -950,7 +950,7 @@ _gda_web_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 				GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -981,7 +981,7 @@ _gda_web_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_constraints_ref (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			       GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			       const GValue *table_catalog, const GValue *table_schema, const GValue *table_name, 
 			       const GValue *constraint_name)
@@ -1021,7 +1021,7 @@ _gda_web_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1052,7 +1052,7 @@ _gda_web_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_key_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *table_catalog, const GValue *table_schema, 
 			   const GValue *table_name, const GValue *constraint_name)
@@ -1092,7 +1092,7 @@ _gda_web_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			      GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1123,7 +1123,7 @@ _gda_web_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_check_columns (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			     GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			     const GValue *table_catalog, const GValue *table_schema, 
 			     const GValue *table_name, const GValue *constraint_name)
@@ -1163,7 +1163,7 @@ _gda_web_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	GdaDataModel *model;
@@ -1194,7 +1194,7 @@ _gda_web_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_triggers (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *table_catalog, const GValue *table_schema, 
 			const GValue *table_name)
@@ -1232,7 +1232,7 @@ _gda_web_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			 GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -1255,7 +1255,7 @@ _gda_web_meta__routines (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_routines (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_routines (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			const GValue *routine_catalog, const GValue *routine_schema, 
 			const GValue *routine_name_n)
@@ -1282,7 +1282,7 @@ _gda_web_meta_routines (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -1305,7 +1305,7 @@ _gda_web_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_routine_col (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *rout_catalog, const GValue *rout_schema, 
 			   const GValue *rout_name)
@@ -1332,7 +1332,7 @@ _gda_web_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -1355,7 +1355,7 @@ _gda_web_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_routine_par (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *rout_catalog, const GValue *rout_schema, 
 			   const GValue *rout_name)
@@ -1382,7 +1382,7 @@ _gda_web_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			    GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -1405,7 +1405,7 @@ _gda_web_meta__indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_indexes_tab (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			   const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
 			   const GValue *index_name_n)
@@ -1432,7 +1432,7 @@ _gda_web_meta_indexes_tab (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta__index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			   GdaMetaStore *store, GdaMetaContext *context, GError **error)
 {
 	WebConnectionData *cdata;
@@ -1455,7 +1455,7 @@ _gda_web_meta__index_cols (GdaServerProvider *prov, GdaConnection *cnc,
 }
 
 gboolean
-_gda_web_meta_index_cols (GdaServerProvider *prov, GdaConnection *cnc, 
+_gda_web_meta_index_cols (G_GNUC_UNUSED GdaServerProvider *prov, GdaConnection *cnc,
 			  GdaMetaStore *store, GdaMetaContext *context, GError **error,
 			  const GValue *table_catalog, const GValue *table_schema,
 			  const GValue *table_name, const GValue *index_name)
diff --git a/providers/web/gda-web-provider.c b/providers/web/gda-web-provider.c
index 734f5cb..3fed668 100644
--- a/providers/web/gda-web-provider.c
+++ b/providers/web/gda-web-provider.c
@@ -228,7 +228,7 @@ gda_web_provider_class_init (GdaWebProviderClass *klass)
 }
 
 static void
-gda_web_provider_init (GdaWebProvider *web_prv, GdaWebProviderClass *klass)
+gda_web_provider_init (G_GNUC_UNUSED GdaWebProvider *web_prv, G_GNUC_UNUSED GdaWebProviderClass *klass)
 {
 }
 
@@ -263,7 +263,7 @@ gda_web_provider_get_type (void)
  * Get provider name request
  */
 static const gchar *
-gda_web_provider_get_name (GdaServerProvider *provider)
+gda_web_provider_get_name (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return WEB_PROVIDER_NAME;
 }
@@ -272,7 +272,7 @@ gda_web_provider_get_name (GdaServerProvider *provider)
  * Get provider's version, no need to change this
  */
 static const gchar *
-gda_web_provider_get_version (GdaServerProvider *provider)
+gda_web_provider_get_version (G_GNUC_UNUSED GdaServerProvider *provider)
 {
 	return PACKAGE_VERSION;
 }
@@ -331,7 +331,8 @@ do_server_setup (GdaConnection *cnc, WebConnectionData *cdata)
 static gboolean
 gda_web_provider_open_connection (GdaServerProvider *provider, GdaConnection *cnc,
 				  GdaQuarkList *params, GdaQuarkList *auth,
-				  guint *task_id, GdaServerProviderAsyncCallback async_cb, gpointer cb_data)
+				  G_GNUC_UNUSED guint *task_id, GdaServerProviderAsyncCallback async_cb,
+				  G_GNUC_UNUSED gpointer cb_data)
 {
 	g_return_val_if_fail (GDA_IS_WEB_PROVIDER (provider), FALSE);
 	g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -578,7 +579,7 @@ gda_web_provider_get_server_version (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_web_provider_supports_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				     GdaServerOperationType type, GdaSet *options)
+				     GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options)
 {
 	if (cnc) {
 		g_return_val_if_fail (GDA_IS_CONNECTION (cnc), FALSE);
@@ -613,7 +614,8 @@ gda_web_provider_supports_operation (GdaServerProvider *provider, GdaConnection
  */
 static GdaServerOperation *
 gda_web_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				   GdaServerOperationType type, GdaSet *options, GError **error)
+				   G_GNUC_UNUSED GdaServerOperationType type, G_GNUC_UNUSED GdaSet *options,
+				   GError **error)
 {
 	WebConnectionData *cdata = NULL;
 
@@ -638,7 +640,7 @@ gda_web_provider_create_operation (GdaServerProvider *provider, GdaConnection *c
  */
 static gchar *
 gda_web_provider_render_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				   GdaServerOperation *op, GError **error)
+				   G_GNUC_UNUSED GdaServerOperation *op, GError **error)
 {
 	WebConnectionData *cdata = NULL;
 
@@ -663,8 +665,9 @@ gda_web_provider_render_operation (GdaServerProvider *provider, GdaConnection *c
  */
 static gboolean
 gda_web_provider_perform_operation (GdaServerProvider *provider, GdaConnection *cnc,
-				    GdaServerOperation *op, guint *task_id, 
-				    GdaServerProviderAsyncCallback async_cb, gpointer cb_data, GError **error)
+				    GdaServerOperation *op, G_GNUC_UNUSED guint *task_id,
+				    GdaServerProviderAsyncCallback async_cb, G_GNUC_UNUSED gpointer cb_data,
+				    GError **error)
 {
         GdaServerOperationType optype;
 
@@ -1002,7 +1005,7 @@ gda_web_provider_rollback_savepoint (GdaServerProvider *provider, GdaConnection
  */
 static gboolean
 gda_web_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
-				   const gchar *name, GError **error)
+				   G_GNUC_UNUSED const gchar *name, G_GNUC_UNUSED GError **error)
 {
 	WebConnectionData *cdata;
 
@@ -1054,7 +1057,7 @@ gda_web_provider_supports_feature (GdaServerProvider *provider, GdaConnection *c
  */
 static GdaDataHandler *
 gda_web_provider_get_data_handler (GdaServerProvider *provider, GdaConnection *cnc,
-				   GType type, const gchar *dbms_type)
+				   G_GNUC_UNUSED GType type, G_GNUC_UNUSED const gchar *dbms_type)
 {
 	WebConnectionData *cdata = NULL;
 
@@ -1077,7 +1080,7 @@ gda_web_provider_get_data_handler (GdaServerProvider *provider, GdaConnection *c
  * This method returns the "preferred" DBMS type for GType
  */
 static const gchar*
-gda_web_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConnection *cnc, GType type)
+gda_web_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConnection *cnc, G_GNUC_UNUSED GType type)
 {
 	WebConnectionData *cdata = NULL;
 
@@ -1101,7 +1104,7 @@ gda_web_provider_get_default_dbms_type (GdaServerProvider *provider, GdaConnecti
  * by the database. See the PostgreSQL provider implementation for an example.
  */
 static GdaSqlParser *
-gda_web_provider_create_parser (GdaServerProvider *provider, GdaConnection *cnc)
+gda_web_provider_create_parser (G_GNUC_UNUSED GdaServerProvider *provider, GdaConnection *cnc)
 {
 	WebConnectionData *cdata = NULL;
 
diff --git a/providers/web/gda-web-pstmt.c b/providers/web/gda-web-pstmt.c
index dfe412c..e0f65c1 100644
--- a/providers/web/gda-web-pstmt.c
+++ b/providers/web/gda-web-pstmt.c
@@ -74,7 +74,7 @@ gda_web_pstmt_class_init (GdaWebPStmtClass *klass)
 }
 
 static void
-gda_web_pstmt_init (GdaWebPStmt *pstmt, GdaWebPStmtClass *klass)
+gda_web_pstmt_init (GdaWebPStmt *pstmt, G_GNUC_UNUSED GdaWebPStmtClass *klass)
 {
 	g_return_if_fail (GDA_IS_PSTMT (pstmt));
 	
diff --git a/providers/web/gda-web-recordset.c b/providers/web/gda-web-recordset.c
index fa52a69..32c4bc3 100644
--- a/providers/web/gda-web-recordset.c
+++ b/providers/web/gda-web-recordset.c
@@ -62,7 +62,7 @@ static GObjectClass *parent_class = NULL;
  */
 static void
 gda_web_recordset_init (GdaWebRecordset *recset,
-			   GdaWebRecordsetClass *klass)
+			   G_GNUC_UNUSED GdaWebRecordsetClass *klass)
 {
 	g_return_if_fail (GDA_IS_WEB_RECORDSET (recset));
 	recset->priv = g_new0 (GdaWebRecordsetPrivate, 1);
diff --git a/providers/web/libmain.c b/providers/web/libmain.c
index f17bfde..5707a89 100644
--- a/providers/web/libmain.c
+++ b/providers/web/libmain.c
@@ -36,14 +36,14 @@ GdaServerProvider *plugin_create_provider (void);
  * Functions executed when calling g_module_open() and g_module_close()
  */
 const gchar *
-g_module_check_init (GModule *module)
+g_module_check_init (G_GNUC_UNUSED GModule *module)
 {
         /*g_module_make_resident (module);*/
         return NULL;
 }
 
 void
-g_module_unload (GModule *module)
+g_module_unload (G_GNUC_UNUSED GModule *module)
 {
         g_free (module_path);
         module_path = NULL;
diff --git a/testing/gdaui-test-data-entries.c b/testing/gdaui-test-data-entries.c
index 34ec8f2..1e64271 100644
--- a/testing/gdaui-test-data-entries.c
+++ b/testing/gdaui-test-data-entries.c
@@ -30,17 +30,17 @@ typedef struct {
 extern GHashTable *gdaui_plugins_hash;
 TestConfig mainconf;
 
-static gboolean delete_event( GtkWidget *widget,
-                              GdkEvent  *event,
-                              gpointer   data )
+static gboolean delete_event( G_GNUC_UNUSED GtkWidget *widget,
+                              G_GNUC_UNUSED GdkEvent  *event,
+                              G_GNUC_UNUSED gpointer   data )
 {
 	g_print ("Leaving test...\n");
 	
 	return FALSE;
 }
 
-static void destroy( GtkWidget *widget,
-                     gpointer   data )
+static void destroy( G_GNUC_UNUSED GtkWidget *widget,
+                     G_GNUC_UNUSED gpointer   data )
 {
 	gtk_main_quit ();
 }
@@ -309,7 +309,8 @@ build_menu (GtkWidget *mainwin, GtkWidget *top_nb)
 }
 
 static void
-reset_tests_widgets_hash_foreach_func (GtkWidget *vbox, TestWidgetData *tdata, gpointer data)
+reset_tests_widgets_hash_foreach_func (G_GNUC_UNUSED GtkWidget *vbox, TestWidgetData *tdata,
+				       G_GNUC_UNUSED gpointer data)
 {
 	if (tdata->test_widget) {
 		gtk_widget_destroy (tdata->test_widget);
@@ -535,7 +536,7 @@ create_plugin_nb (GtkWidget *table, GdauiPlugin *plugin)
 }
 
 static void
-vbox_destroyed_cb (GtkWidget *widget, gpointer data)
+vbox_destroyed_cb (GtkWidget *widget, G_GNUC_UNUSED gpointer data)
 {
 	g_hash_table_remove (mainconf.tests_hash, widget);
 }
@@ -545,7 +546,8 @@ static GtkWidget *build_form_test_for_gtype (GdaDataHandler *dh, GType type, con
 static GtkWidget *build_grid_test_for_gtype (GdaDataHandler *dh, GType type, const gchar *plugin_name);
 
 static void
-plugin_nb_page_changed_cb (GtkNotebook *nb, GtkNotebookPage *page, gint pageno, GtkWidget *table)
+plugin_nb_page_changed_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, gint pageno,
+			   G_GNUC_UNUSED GtkWidget *table)
 {
 	GtkWidget *vbox;
 	TestWidgetData *tdata;
@@ -625,7 +627,8 @@ build_test_widget (TestWidgetData *tdata)
 }
 
 static void
-options_form_holder_changed_cb (GdauiBasicForm *form, GdaHolder *param, gboolean user_modif, GtkWidget *table)
+options_form_holder_changed_cb (G_GNUC_UNUSED GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param,
+				G_GNUC_UNUSED gboolean user_modif, GtkWidget *table)
 {
 	GtkWidget *nb;
 	GdauiPlugin *plugin;
@@ -844,7 +847,7 @@ editable_toggled_cb (GtkToggleButton *button, GtkWidget *entry)
 }
 
 void 
-entry_contents_modified (GtkWidget *entry, gpointer data)
+entry_contents_modified (GtkWidget *entry, G_GNUC_UNUSED gpointer data)
 {
 	guint attrs;
 	GtkLabel *label;
@@ -929,7 +932,7 @@ default_clicked_cb (GtkButton *button, GtkWidget *entry)
 }
 
 static GtkWidget *
-build_form_test_for_gtype (GdaDataHandler *dh, GType type, const gchar *plugin_name)
+build_form_test_for_gtype (G_GNUC_UNUSED GdaDataHandler *dh, GType type, const gchar *plugin_name)
 {
 	GdaDataModel *model;
 	GtkWidget *wid;
@@ -962,7 +965,7 @@ build_form_test_for_gtype (GdaDataHandler *dh, GType type, const gchar *plugin_n
 }
 
 static GtkWidget *
-build_grid_test_for_gtype (GdaDataHandler *dh, GType type, const gchar *plugin_name)
+build_grid_test_for_gtype (G_GNUC_UNUSED GdaDataHandler *dh, GType type, const gchar *plugin_name)
 {
 	GdaDataModel *model;
 	GtkWidget *wid;
diff --git a/testing/gdaui-test-errors.c b/testing/gdaui-test-errors.c
index e1ccf5e..25d3a6f 100644
--- a/testing/gdaui-test-errors.c
+++ b/testing/gdaui-test-errors.c
@@ -1,7 +1,7 @@
 #include <libgda-ui/libgda-ui.h>
 #include "../tests/data-model-errors.h"
 
-static void destroy (GtkWidget *widget, gpointer data)
+static void destroy (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED gpointer data)
 {
 	gtk_main_quit ();
 }
diff --git a/testing/gdaui-test-widget-entry.c b/testing/gdaui-test-widget-entry.c
index fabf4e8..1afab99 100644
--- a/testing/gdaui-test-widget-entry.c
+++ b/testing/gdaui-test-widget-entry.c
@@ -34,7 +34,7 @@ entry_changed_cb (GdauiEntry *entry, const gchar *id)
 }
 
 static void
-prop_length_set_cb (GtkButton *buntton, GdauiEntry *entry)
+prop_length_set_cb (G_GNUC_UNUSED GtkButton *button, GdauiEntry *entry)
 {
 	gchar *tmp;
 	gint max, i;
@@ -49,7 +49,7 @@ prop_length_set_cb (GtkButton *buntton, GdauiEntry *entry)
 }
 
 static void
-prop_text_set_cb (GtkButton *buntton, GdauiEntry *entry)
+prop_text_set_cb (G_GNUC_UNUSED GtkButton *button, GdauiEntry *entry)
 {
 	gchar *tmp;
 	gint i;
@@ -62,7 +62,7 @@ prop_text_set_cb (GtkButton *buntton, GdauiEntry *entry)
 }
 
 static void
-prop_text_null_cb (GtkButton *buntton, gpointer data)
+prop_text_null_cb (G_GNUC_UNUSED GtkButton *button, G_GNUC_UNUSED gpointer data)
 {
 	gint i;
 
diff --git a/testing/html.c b/testing/html.c
index 61fa582..5371c0e 100644
--- a/testing/html.c
+++ b/testing/html.c
@@ -220,7 +220,7 @@ html_add_link_to_node (HtmlConfig *config, const gchar *nodepath, const gchar *t
 }
 
 void
-html_add_to_toc (HtmlConfig *config, HtmlFile *file, const gchar *text, const gchar *link_to)
+html_add_to_toc (G_GNUC_UNUSED HtmlConfig *config, HtmlFile *file, const gchar *text, const gchar *link_to)
 {
 	xmlNodePtr li;
 
@@ -258,19 +258,19 @@ html_mark_path_error (HtmlConfig *config, const gchar *nodepath)
 }
 
 void
-html_mark_node_error (HtmlConfig *config, xmlNodePtr node)
+html_mark_node_error (G_GNUC_UNUSED HtmlConfig *config, xmlNodePtr node)
 {
 	xmlSetProp(node, BAD_CAST "class", BAD_CAST "error");
 }
 
 void
-html_mark_node_warning (HtmlConfig *config, xmlNodePtr node)
+html_mark_node_warning (G_GNUC_UNUSED HtmlConfig *config, xmlNodePtr node)
 {
 	xmlSetProp(node, BAD_CAST "class", BAD_CAST "warning");
 }
 
 void
-html_mark_node_notice (HtmlConfig *config, xmlNodePtr node)
+html_mark_node_notice (G_GNUC_UNUSED HtmlConfig *config, xmlNodePtr node)
 {
 	xmlSetProp(node, BAD_CAST "class", BAD_CAST "notice");
 }
diff --git a/tests/data-model-errors.c b/tests/data-model-errors.c
index f02427c..773ea32 100644
--- a/tests/data-model-errors.c
+++ b/tests/data-model-errors.c
@@ -101,7 +101,7 @@ data_model_errors_data_model_init (GdaDataModelIface *iface)
 
 static void
 data_model_errors_init (DataModelErrors *model,
-			DataModelErrorsClass *klass)
+			G_GNUC_UNUSED DataModelErrorsClass *klass)
 {
 	gint i;
 	g_return_if_fail (IS_DATA_MODEL_ERRORS (model));
@@ -363,7 +363,7 @@ data_model_errors_get_value_at (GdaDataModel *model, gint col, gint row, GError
 }
 
 static GdaValueAttribute
-data_model_errors_get_attributes_at (GdaDataModel *model, gint col, gint row)
+data_model_errors_get_attributes_at (GdaDataModel *model, gint col, G_GNUC_UNUSED gint row)
 {
 	DataModelErrors *imodel;
 	GdaValueAttribute flags = 0;
@@ -417,7 +417,7 @@ data_model_errors_set_value_at (GdaDataModel *model, gint col, gint row, const G
 
 
 static gint
-data_model_errors_append_values (GdaDataModel *model, const GList *values, GError **error)
+data_model_errors_append_values (GdaDataModel *model, G_GNUC_UNUSED const GList *values, GError **error)
 {
 	DataModelErrors *imodel;
 	
diff --git a/tests/gda-ddl-creator.c b/tests/gda-ddl-creator.c
index b48a75a..3796667 100644
--- a/tests/gda-ddl-creator.c
+++ b/tests/gda-ddl-creator.c
@@ -266,7 +266,7 @@ static void
 gda_ddl_creator_set_property (GObject *object,
 			      guint param_id,
 			      const GValue *value,
-			      GParamSpec *pspec) 
+			      G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDDLCreator *creator;
 	
@@ -319,7 +319,7 @@ static void
 gda_ddl_creator_get_property (GObject *object,
 			     guint param_id,
 			     GValue *value,
-			     GParamSpec *pspec) 
+			     G_GNUC_UNUSED GParamSpec *pspec)
 {
 	GdaDDLCreator *creator;
 	creator = GDA_DDL_CREATOR (object);
@@ -632,7 +632,7 @@ create_server_operation_for_table (GdaDDLCreator *ddlc, GdaServerProvider *prov,
 }
 
 static GdaServerOperation *
-create_server_operation_for_view (GdaDDLCreator *ddlc, GdaServerProvider *prov, GdaConnection *cnc, 
+create_server_operation_for_view (G_GNUC_UNUSED GdaDDLCreator *ddlc, GdaServerProvider *prov, GdaConnection *cnc,
 				  GdaMetaDbObject *dbobj, GError **error)
 {
 	GdaServerOperation *op;
diff --git a/tests/test-cnc-utils.c b/tests/test-cnc-utils.c
index 97f6365..3e2c6d3 100644
--- a/tests/test-cnc-utils.c
+++ b/tests/test-cnc-utils.c
@@ -316,7 +316,8 @@ test_cnc_clean_connection (GdaConnection *cnc, GError **error)
 }
 
 gboolean
-test_cnc_setup_db_contents (GdaConnection *cnc, const gchar *data_file, GError **error)
+test_cnc_setup_db_contents (G_GNUC_UNUSED GdaConnection *cnc, G_GNUC_UNUSED const gchar *data_file,
+			    G_GNUC_UNUSED GError **error)
 {
 	TO_IMPLEMENT;
 	return FALSE;
diff --git a/tools/browser/auth-dialog.c b/tools/browser/auth-dialog.c
index 4968c42..c04da4f 100644
--- a/tools/browser/auth-dialog.c
+++ b/tools/browser/auth-dialog.c
@@ -174,7 +174,7 @@ update_ad_auth (AuthData *ad)
   * Update the auth part
   */
 static void
-dsn_changed_cb (GdaConfig *config, GdaDsnInfo *info, AuthDialog *dialog)
+dsn_changed_cb (G_GNUC_UNUSED GdaConfig *config, GdaDsnInfo *info, AuthDialog *dialog)
 {
 	GSList *list;
 	if (!info || !info->name) /* should not happen */
diff --git a/tools/browser/browser-connection.c b/tools/browser/browser-connection.c
index 6ed0495..0a98ec9 100644
--- a/tools/browser/browser-connection.c
+++ b/tools/browser/browser-connection.c
@@ -279,8 +279,9 @@ browser_connection_init (BrowserConnection *bcnc)
 }
 
 static void
-transaction_status_changed_cb (GdaThreadWrapper *wrapper, gpointer instance, const gchar *signame,
-			       gint n_param_values, const GValue *param_values, gpointer gda_reserved,
+transaction_status_changed_cb (G_GNUC_UNUSED GdaThreadWrapper *wrapper, G_GNUC_UNUSED gpointer instance,
+			       G_GNUC_UNUSED const gchar *signame, G_GNUC_UNUSED gint n_param_values,
+			       G_GNUC_UNUSED const GValue *param_values, G_GNUC_UNUSED gpointer gda_reserved,
 			       BrowserConnection *bcnc)
 {
 	g_signal_emit (bcnc, browser_connection_signals [TRANSACTION_STATUS_CHANGED], 0);
@@ -328,12 +329,12 @@ wrapper_meta_struct_sync (BrowserConnection *bcnc, GError **error)
 }
 
 static void
-meta_changed_cb (GdaThreadWrapper *wrapper,
-		 GdaMetaStore *store,
-		 const gchar *signame,
-		 gint n_param_values,
-		 const GValue *param_values,
-		 gpointer gda_reserved,
+meta_changed_cb (G_GNUC_UNUSED GdaThreadWrapper *wrapper,
+		 G_GNUC_UNUSED GdaMetaStore *store,
+		 G_GNUC_UNUSED const gchar *signame,
+		 G_GNUC_UNUSED gint n_param_values,
+		 G_GNUC_UNUSED const GValue *param_values,
+		 G_GNUC_UNUSED gpointer gda_reserved,
 		 BrowserConnection *bcnc)
 {
 	guint job_id;
@@ -362,7 +363,7 @@ static void
 browser_connection_set_property (GObject *object,
 				 guint param_id,
 				 const GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
         BrowserConnection *bcnc;
 
@@ -460,7 +461,7 @@ static void
 browser_connection_get_property (GObject *object,
 				 guint param_id,
 				 GValue *value,
-				 GParamSpec *pspec)
+				 G_GNUC_UNUSED GParamSpec *pspec)
 {
         BrowserConnection *bcnc;
 
@@ -494,7 +495,7 @@ clear_dsn_info (BrowserConnection *bcnc)
 }
 
 static void
-fav_changed_cb (BrowserFavorites *bfav, BrowserConnection *bcnc)
+fav_changed_cb (G_GNUC_UNUSED BrowserFavorites *bfav, BrowserConnection *bcnc)
 {
 	g_signal_emit (bcnc, browser_connection_signals [FAV_CHANGED], 0);
 }
diff --git a/tools/browser/browser-connections-list.c b/tools/browser/browser-connections-list.c
index 2ed77c9..f3be8b2 100644
--- a/tools/browser/browser-connections-list.c
+++ b/tools/browser/browser-connections-list.c
@@ -131,17 +131,17 @@ enum
 };
 
 static gboolean
-delete_event (GtkWidget *widget, GdkEvent *event, gpointer data)
+delete_event (GtkWidget *widget, G_GNUC_UNUSED GdkEvent *event, G_GNUC_UNUSED gpointer data)
 {
 	gtk_widget_hide (widget);
 	return TRUE;
 }
 
-static void cell_name_data_func (GtkTreeViewColumn *tree_column,
+static void cell_name_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column,
 				 GtkCellRenderer *cell,
 				 GtkTreeModel *tree_model,
 				 GtkTreeIter *iter,
-				 gpointer data)
+				 G_GNUC_UNUSED gpointer data)
 {
 	BrowserConnection *bcnc;
 	gchar *str, *cncstr = NULL;
@@ -269,7 +269,7 @@ selection_changed_cb (GtkTreeSelection *select, BrowserConnectionsList *clist)
 }
 
 static void
-connection_close_cb (GtkButton *button, BrowserConnectionsList *clist)
+connection_close_cb (G_GNUC_UNUSED GtkButton *button, BrowserConnectionsList *clist)
 {
 	GtkTreeSelection *select;
 	GtkTreeModel *model;
@@ -285,7 +285,7 @@ connection_close_cb (GtkButton *button, BrowserConnectionsList *clist)
 }
 
 static void
-connection_new_cb (GtkButton *button, BrowserConnectionsList *clist)
+connection_new_cb (G_GNUC_UNUSED GtkButton *button, G_GNUC_UNUSED BrowserConnectionsList *clist)
 {
 	LoginDialog *dialog;
 	GdaConnection *cnc;
@@ -482,7 +482,7 @@ browser_connections_list_show (BrowserConnection *current)
 }
 
 static void
-connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserConnectionsList *clist)
+connection_added_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, BrowserConnectionsList *clist)
 {
 	GtkListStore *store;
 	GtkTreeIter iter;
@@ -494,7 +494,7 @@ connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserConnect
 }
 
 static void
-connection_removed_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserConnectionsList *clist)
+connection_removed_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, BrowserConnectionsList *clist)
 {
 	GtkTreeModel *model;
 	GtkTreeIter iter;
diff --git a/tools/browser/browser-page.c b/tools/browser/browser-page.c
index 5e580ce..c60b373 100644
--- a/tools/browser/browser-page.c
+++ b/tools/browser/browser-page.c
@@ -55,7 +55,7 @@ browser_page_get_type (void)
 }
 
 static void
-browser_page_class_init (gpointer g_class)
+browser_page_class_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/tools/browser/browser-perspective.c b/tools/browser/browser-perspective.c
index 34d9363..620ae8f 100644
--- a/tools/browser/browser-perspective.c
+++ b/tools/browser/browser-perspective.c
@@ -55,7 +55,7 @@ browser_perspective_get_type (void)
 }
 
 static void
-browser_perspective_class_init (gpointer g_class)
+browser_perspective_class_init (G_GNUC_UNUSED gpointer g_class)
 {
 	static gboolean initialized = FALSE;
 
diff --git a/tools/browser/browser-virtual-connection.c b/tools/browser/browser-virtual-connection.c
index eb8bd29..3c62977 100644
--- a/tools/browser/browser-virtual-connection.c
+++ b/tools/browser/browser-virtual-connection.c
@@ -81,8 +81,8 @@ browser_virtual_connection_get_type (void)
 }
 
 static void
-source_cnc_busy_cb (BrowserConnection *bcnc, gboolean is_busy, const gchar *reason,
-		    BrowserConnection *virtual)
+source_cnc_busy_cb (G_GNUC_UNUSED BrowserConnection *bcnc, gboolean is_busy,
+		    G_GNUC_UNUSED const gchar *reason, BrowserConnection *virtual)
 {
 	g_signal_emit_by_name (virtual, "busy", is_busy,
 			       is_busy ? _("Bound connection is used") : NULL);
@@ -182,7 +182,7 @@ static void
 browser_virtual_connection_set_property (GObject *object,
 					 guint param_id,
 					 const GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         BrowserVirtualConnection *bcnc;
 
@@ -212,7 +212,7 @@ static void
 browser_virtual_connection_get_property (GObject *object,
 					 guint param_id,
 					 GValue *value,
-					 GParamSpec *pspec)
+					 G_GNUC_UNUSED GParamSpec *pspec)
 {
         BrowserVirtualConnection *bcnc;
 
diff --git a/tools/browser/browser-window.c b/tools/browser/browser-window.c
index 7f15a7a..8cfeb6e 100644
--- a/tools/browser/browser-window.c
+++ b/tools/browser/browser-window.c
@@ -240,7 +240,7 @@ browser_window_dispose (GObject *object)
 
 
 static gboolean
-delete_event (GtkWidget *widget, GdkEvent *event, BrowserWindow *bwin)
+delete_event (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkEvent *event, BrowserWindow *bwin)
 {
 	browser_core_close_window (bwin);
         return TRUE;
@@ -716,7 +716,7 @@ connection_busy_cb (BrowserConnection *bcnc, gboolean is_busy, gchar *reason, Br
 
 /* update @bwin->priv->cnc_agroup and @bwin->priv->ui_manager */
 static void
-connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindow *bwin)
+connection_added_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindow *bwin)
 {
 	GtkAction *action;
 	const gchar *cncname;
@@ -750,7 +750,7 @@ connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindow
 
 /* update @bwin->priv->cnc_agroup and @bwin->priv->ui_manager */
 static void
-connection_removed_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindow *bwin)
+connection_removed_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindow *bwin)
 {
 	GtkAction *action;
 	gchar *path;
@@ -774,7 +774,7 @@ connection_removed_cb (BrowserCore *bcore, BrowserConnection *bcnc, BrowserWindo
 }
 
 static void
-connection_close_cb (GtkAction *action, BrowserWindow *bwin)
+connection_close_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	/* confirmation dialog */
 	GtkWidget *dialog;
@@ -812,7 +812,7 @@ connection_close_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-quit_cb (GtkAction *action, BrowserWindow *bwin)
+quit_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	/* confirmation dialog */
 	GtkWidget *dialog;
@@ -877,7 +877,7 @@ transaction_status_changed_cb (BrowserConnection *bcnc, BrowserWindow *bwin)
 }
 
 static void
-transaction_begin_cb (GtkAction *action, BrowserWindow *bwin)
+transaction_begin_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	if (!bwin->priv->updating_transaction_status) {
 		GError *error = NULL;
@@ -891,7 +891,7 @@ transaction_begin_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-transaction_commit_cb (GtkAction *action, BrowserWindow *bwin)
+transaction_commit_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	if (!bwin->priv->updating_transaction_status) {
 		GError *error = NULL;
@@ -905,7 +905,7 @@ transaction_commit_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-transaction_rollback_cb (GtkAction *action, BrowserWindow *bwin)
+transaction_rollback_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	if (!bwin->priv->updating_transaction_status) {
 		GError *error = NULL;
@@ -920,7 +920,7 @@ transaction_rollback_cb (GtkAction *action, BrowserWindow *bwin)
 
 
 static void
-window_close_cb (GtkAction *action, BrowserWindow *bwin)
+window_close_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	delete_event (NULL, NULL, bwin);
 }
@@ -946,7 +946,7 @@ toolbar_hide_timeout_cb (BrowserWindow *bwin)
 #define BWIN_WINDOW_FULLSCREEN_POPUP_TIMER 1
 
 static gboolean
-fullscreen_motion_notify_cb (GtkWidget *widget, GdkEventMotion *event, gpointer user_data)
+fullscreen_motion_notify_cb (GtkWidget *widget, GdkEventMotion *event, G_GNUC_UNUSED gpointer user_data)
 {
 	BrowserWindow *bwin = BROWSER_WINDOW (widget);
 #if GTK_CHECK_VERSION(2,14,0)
@@ -975,14 +975,15 @@ fullscreen_motion_notify_cb (GtkWidget *widget, GdkEventMotion *event, gpointer
 }
 
 gboolean
-toolbar_enter_notify_cb (GtkWidget *widget, GdkEventCrossing *event, BrowserWindow *bwin)
+toolbar_enter_notify_cb (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkEventCrossing *event,
+			 BrowserWindow *bwin)
 {
 	bwin->priv->cursor_in_toolbar = TRUE;
 	return FALSE;
 }
 
 gboolean
-toolbar_leave_notify_cb (GtkWidget *widget, GdkEventCrossing *event, BrowserWindow *bwin)
+toolbar_leave_notify_cb (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkEventCrossing *event, BrowserWindow *bwin)
 {
 	bwin->priv->cursor_in_toolbar = FALSE;
 	return FALSE;
@@ -1091,7 +1092,7 @@ window_state_event (GtkWidget *widget, GdkEventWindowState *event)
 }
 
 static void
-window_new_cb (GtkAction *action, BrowserWindow *bwin)
+window_new_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	BrowserWindow *nbwin;
 	BrowserConnection *bcnc;
@@ -1102,7 +1103,7 @@ window_new_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-window_new_with_cnc_cb (GtkAction *action, BrowserWindow *bwin)
+window_new_with_cnc_cb (GtkAction *action, G_GNUC_UNUSED BrowserWindow *bwin)
 {
 	BrowserWindow *nbwin;
 	BrowserConnection *bcnc;
@@ -1115,13 +1116,13 @@ window_new_with_cnc_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-connection_open_cb (GtkAction *action, BrowserWindow *bwin)
+connection_open_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED BrowserWindow *bwin)
 {
 	browser_connection_open (NULL);
 }
 
 static void
-connection_properties_cb (GtkAction *action, BrowserWindow *bwin)
+connection_properties_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	if (BROWSER_IS_VIRTUAL_CONNECTION (bwin->priv->bcnc)) {
 		GtkWidget *win;
@@ -1157,7 +1158,7 @@ connection_properties_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-connection_bind_cb (GtkAction *action, BrowserWindow *bwin)
+connection_bind_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	GtkWidget *win;
 	gint res;
@@ -1191,19 +1192,19 @@ connection_bind_cb (GtkAction *action, BrowserWindow *bwin)
 }
 
 static void
-connection_list_cb (GtkAction *action, BrowserWindow *bwin)
+connection_list_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	browser_connections_list_show (bwin->priv->bcnc);
 }
 
 static void
-connection_meta_update_cb (GtkAction *action, BrowserWindow *bwin)
+connection_meta_update_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	browser_connection_update_meta_data (bwin->priv->bcnc);
 }
 
 static void
-about_cb (GtkAction *action, BrowserWindow *bwin)
+about_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	GdkPixbuf *icon;
         GtkWidget *dialog;
@@ -1241,7 +1242,7 @@ about_cb (GtkAction *action, BrowserWindow *bwin)
 
 #ifdef HAVE_GDU
 void
-manual_cb (GtkAction *action, BrowserWindow *bwin)
+manual_cb (G_GNUC_UNUSED GtkAction *action, BrowserWindow *bwin)
 {
 	browser_show_help (GTK_WINDOW (bwin), NULL);
 }
@@ -1403,7 +1404,7 @@ browser_window_show_notice_printf (BrowserWindow *bwin, GtkMessageType type, con
 
 #if GTK_CHECK_VERSION (2,18,0)
 static void
-info_bar_response_cb (GtkInfoBar *ibar, gint response, BrowserWindow *bwin)
+info_bar_response_cb (GtkInfoBar *ibar, G_GNUC_UNUSED gint response, BrowserWindow *bwin)
 {
 	bwin->priv->notif_widgets = g_slist_remove (bwin->priv->notif_widgets, ibar);	
 	gtk_widget_destroy ((GtkWidget*) ibar);
@@ -1413,7 +1414,7 @@ info_bar_response_cb (GtkInfoBar *ibar, gint response, BrowserWindow *bwin)
 /* hash table to remain which context notices have to be hidden: key=context, value=GINT_TO_POINTER (1) */
 static GHashTable *hidden_contexts = NULL;
 static void
-hidden_contexts_foreach_save (const gchar *context, gint value, xmlNodePtr root)
+hidden_contexts_foreach_save (const gchar *context, G_GNUC_UNUSED gint value, xmlNodePtr root)
 {
 	xmlNodePtr node;
 	node = xmlNewChild (root, NULL, BAD_CAST "hide-notice", BAD_CAST context);
diff --git a/tools/browser/canvas-example.c b/tools/browser/canvas-example.c
index 3a53b88..c197fee 100644
--- a/tools/browser/canvas-example.c
+++ b/tools/browser/canvas-example.c
@@ -11,7 +11,7 @@ static void label_drag_data_received (GtkWidget *label, GdkDragContext *context,
 				      guint info, guint time);
 
 static int
-scroll_event_cb (GtkWidget *wid, GdkEvent *event, gpointer data)
+scroll_event_cb (G_GNUC_UNUSED GtkWidget *wid, GdkEvent *event, G_GNUC_UNUSED gpointer data)
 {
 	gboolean done = TRUE;
 
@@ -123,15 +123,15 @@ main (int argc, char *argv[])
 }
 
 static void
-auto_layout_cb (GtkWidget *button, BrowserCanvas *canvas)
+auto_layout_cb (G_GNUC_UNUSED GtkWidget *button, BrowserCanvas *canvas)
 {
 	browser_canvas_perform_auto_layout (BROWSER_CANVAS (canvas), TRUE, BROWSER_CANVAS_LAYOUT_RADIAL);
 }
 
 static void
-label_drag_data_received (GtkWidget *label, GdkDragContext *context,
-			  gint x, gint y, GtkSelectionData *data,
-			  guint info, guint time)
+label_drag_data_received (G_GNUC_UNUSED GtkWidget *label, GdkDragContext *context,
+			  G_GNUC_UNUSED gint x, G_GNUC_UNUSED gint y, GtkSelectionData *data,
+			  G_GNUC_UNUSED guint info, guint time)
 {
 #if GTK_CHECK_VERSION(2,18,0)
 	if ((gtk_selection_data_get_length (data) >= 0) && (gtk_selection_data_get_format (data) == 8)) {
@@ -152,7 +152,7 @@ label_drag_data_received (GtkWidget *label, GdkDragContext *context,
 }
 
 static gboolean
-on_delete_event (GtkWidget *window, GdkEvent *event, gpointer unused_data)
+on_delete_event (G_GNUC_UNUSED GtkWidget *window, G_GNUC_UNUSED GdkEvent *event, G_GNUC_UNUSED gpointer data)
 {
 	exit (0);
 }
diff --git a/tools/browser/canvas/browser-canvas-column.c b/tools/browser/canvas/browser-canvas-column.c
index 47db253..75f9d42 100644
--- a/tools/browser/canvas/browser-canvas-column.c
+++ b/tools/browser/canvas/browser-canvas-column.c
@@ -143,7 +143,7 @@ static void
 browser_canvas_column_set_property (GObject *object,
 				    guint param_id,
 				    const GValue *value,
-				    GParamSpec *pspec)
+				    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasColumn *cf = NULL;
 	GdaMetaTableColumn* column = NULL;
@@ -187,7 +187,7 @@ static void
 browser_canvas_column_get_property (GObject *object,
 				    guint param_id,
 				    GValue *value,
-				    GParamSpec *pspec)
+				    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasColumn *cf;
 
@@ -293,8 +293,9 @@ browser_canvas_column_get_parent_item (BrowserCanvasColumn *column)
 }
 
 static void
-browser_canvas_column_drag_data_get (BrowserCanvasItem *citem, GdkDragContext *drag_context,
-				     GtkSelectionData *data, guint info, guint time)
+browser_canvas_column_drag_data_get (BrowserCanvasItem *citem, G_GNUC_UNUSED GdkDragContext *drag_context,
+				     GtkSelectionData *data, G_GNUC_UNUSED guint info,
+				     G_GNUC_UNUSED guint time)
 {
 	BrowserCanvasColumn *column;
 	BrowserCanvasTable *ctable;
diff --git a/tools/browser/canvas/browser-canvas-db-relations.c b/tools/browser/canvas/browser-canvas-db-relations.c
index 69eb275..668e931 100644
--- a/tools/browser/canvas/browser-canvas-db-relations.c
+++ b/tools/browser/canvas/browser-canvas-db-relations.c
@@ -155,7 +155,7 @@ static void
 browser_canvas_db_relations_set_property (GObject *object,
 					  guint param_id,
 					  const GValue *value,
-					  GParamSpec *pspec)
+					  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasDbRelations *canvas;
 
@@ -185,7 +185,7 @@ static void
 browser_canvas_db_relations_get_property (GObject *object,
 					  guint param_id,
 					  GValue *value,
-					  GParamSpec *pspec)
+					  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasDbRelations *canvas;
 
@@ -200,7 +200,7 @@ browser_canvas_db_relations_get_property (GObject *object,
 }
 
 static void
-cloud_object_selected_cb (ObjectsCloud *ocloud, ObjectsCloudObjType sel_type, 
+cloud_object_selected_cb (G_GNUC_UNUSED ObjectsCloud *ocloud, G_GNUC_UNUSED ObjectsCloudObjType sel_type,
 			  const gchar *sel_contents, BrowserCanvasDbRelations *dbrel)
 {
 	GdaMetaTable *mtable;
@@ -313,7 +313,7 @@ canvas_entity_popup_func (BrowserCanvasTable *ce)
 }
 
 static void
-popup_func_delete_cb (GtkMenuItem *mitem, BrowserCanvasTable *ce)
+popup_func_delete_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvasTable *ce)
 {
 	GdaMetaTable *mtable;
 	BrowserCanvasDbRelations *dbrel;
@@ -351,7 +351,7 @@ popup_func_delete_cb (GtkMenuItem *mitem, BrowserCanvasTable *ce)
 }
 
 static void
-popup_func_add_depend_cb (GtkMenuItem *mitem, BrowserCanvasTable *ce)
+popup_func_add_depend_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvasTable *ce)
 {
 	BrowserCanvasDbRelations *dbrel;
 	GdaMetaDbObject *dbo;
@@ -387,7 +387,7 @@ popup_func_add_depend_cb (GtkMenuItem *mitem, BrowserCanvasTable *ce)
 }
 
 static void
-popup_func_add_ref_cb (GtkMenuItem *mitem, BrowserCanvasTable *ce)
+popup_func_add_ref_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvasTable *ce)
 {
 	BrowserCanvasDbRelations *dbrel;
 	GdaMetaDbObject *dbo;
@@ -511,14 +511,14 @@ build_context_menu (BrowserCanvas *canvas)
 }
 
 static gboolean
-add_dialog_delete_event (GtkWidget *dialog, GdkEvent *event, gpointer data)
+add_dialog_delete_event (GtkWidget *dialog, G_GNUC_UNUSED GdkEvent *event, G_GNUC_UNUSED gpointer data)
 {
 	gtk_widget_hide (dialog);
 	return TRUE;
 }
 
 static void
-popup_add_table_cb (GtkMenuItem *mitem, BrowserCanvasDbRelations *dbrels)
+popup_add_table_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvasDbRelations *dbrels)
 {
 	if (! dbrels->priv->add_dialog) {
 		GtkWidget *vbox, *cloud, *find, *dcontents;
diff --git a/tools/browser/canvas/browser-canvas-fkey.c b/tools/browser/canvas/browser-canvas-fkey.c
index aaaf4ad..b00b864 100644
--- a/tools/browser/canvas/browser-canvas-fkey.c
+++ b/tools/browser/canvas/browser-canvas-fkey.c
@@ -133,13 +133,13 @@ browser_canvas_fkey_init (BrowserCanvasFkey *cc)
 }
 
 static void
-fk_table_item_weak_ref_lost (BrowserCanvasFkey *cc, BrowserCanvasTable *old_table_item)
+fk_table_item_weak_ref_lost (BrowserCanvasFkey *cc, G_GNUC_UNUSED BrowserCanvasTable *old_table_item)
 {
 	cc->priv->fk_table_item = NULL;
 }
 
 static void
-ref_pk_table_item_weak_ref_lost (BrowserCanvasFkey *cc, BrowserCanvasTable *old_table_item)
+ref_pk_table_item_weak_ref_lost (BrowserCanvasFkey *cc, G_GNUC_UNUSED BrowserCanvasTable *old_table_item)
 {
 	cc->priv->ref_pk_table_item = NULL;
 }
@@ -198,7 +198,7 @@ static void
 browser_canvas_fkey_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasFkey *cc;
 
@@ -222,7 +222,7 @@ static void
 browser_canvas_fkey_get_property (GObject *object,
 				  guint param_id,
 				  GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasFkey *cc;
 
@@ -381,8 +381,8 @@ update_items (BrowserCanvasFkey *cc)
  * item is for a single FK constraint
  */
 static gboolean
-single_item_enter_notify_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item,
-				   GdkEventCrossing *event, BrowserCanvasFkey *cc)
+single_item_enter_notify_event_cb (G_GNUC_UNUSED GooCanvasItem *ci, G_GNUC_UNUSED GooCanvasItem *target_item,
+				   G_GNUC_UNUSED GdkEventCrossing *event, BrowserCanvasFkey *cc)
 {
 	gint i;
 
@@ -409,8 +409,8 @@ single_item_enter_notify_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item
 }
 
 static gboolean
-single_item_leave_notify_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item,
-				   GdkEventCrossing *event, BrowserCanvasFkey *cc)
+single_item_leave_notify_event_cb (G_GNUC_UNUSED GooCanvasItem *ci, G_GNUC_UNUSED GooCanvasItem *target_item,
+				   G_GNUC_UNUSED GdkEventCrossing *event, BrowserCanvasFkey *cc)
 {
 	gint i;
 
@@ -437,8 +437,8 @@ single_item_leave_notify_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item
 }
 
 static gboolean
-single_item_button_press_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item,
-				   GdkEventButton *event, BrowserCanvasFkey *cc)
+single_item_button_press_event_cb (G_GNUC_UNUSED GooCanvasItem *ci, G_GNUC_UNUSED GooCanvasItem *target_item,
+				   G_GNUC_UNUSED GdkEventButton *event, G_GNUC_UNUSED BrowserCanvasFkey *cc)
 {
 	return FALSE;
 	/*
@@ -459,7 +459,7 @@ single_item_button_press_event_cb (GooCanvasItem *ci, GooCanvasItem *target_item
 }
 
 static void
-table_item_moved_cb (GooCanvasItem *table, BrowserCanvasFkey *cc)
+table_item_moved_cb (G_GNUC_UNUSED GooCanvasItem *table, BrowserCanvasFkey *cc)
 {
 	update_items (cc);
 }
diff --git a/tools/browser/canvas/browser-canvas-item.c b/tools/browser/canvas/browser-canvas-item.c
index e51418d..4f1efab 100644
--- a/tools/browser/canvas/browser-canvas-item.c
+++ b/tools/browser/canvas/browser-canvas-item.c
@@ -193,7 +193,7 @@ static void
 browser_canvas_item_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasItem *citem = NULL;
 	const gchar *str = NULL;
@@ -290,8 +290,8 @@ browser_canvas_item_get_edge_nodes (BrowserCanvasItem *item,
 }
 
 static gboolean
-leave_notify_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
-		    GdkEventCrossing *event, gpointer data)
+leave_notify_event (BrowserCanvasItem *citem, G_GNUC_UNUSED GooCanvasItem *target_item,
+		    G_GNUC_UNUSED GdkEventCrossing *event, G_GNUC_UNUSED gpointer data)
 {
 	gtk_widget_set_has_tooltip (GTK_WIDGET (goo_canvas_item_get_canvas (GOO_CANVAS_ITEM (citem))),
 				    FALSE);
@@ -299,8 +299,8 @@ leave_notify_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
 }
 
 static gboolean
-button_press_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
-		    GdkEventButton *event, gpointer data)
+button_press_event (BrowserCanvasItem *citem, G_GNUC_UNUSED GooCanvasItem *target_item,
+		    GdkEventButton *event, G_GNUC_UNUSED gpointer data)
 {
 	gboolean done = FALSE;
 
@@ -353,8 +353,8 @@ button_press_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
 }
 
 static gboolean
-button_release_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
-		      GdkEventButton *event, gpointer data)
+button_release_event (BrowserCanvasItem *citem, G_GNUC_UNUSED GooCanvasItem *target_item,
+		      GdkEventButton *event, G_GNUC_UNUSED gpointer data)
 {
 	if (citem->priv->allow_move) {
 		citem->priv->moving = FALSE;
@@ -373,8 +373,8 @@ button_release_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
 }
 
 static gboolean
-motion_notify_event (BrowserCanvasItem *citem, GooCanvasItem *target_item,
-		     GdkEventMotion *event, gpointer data)
+motion_notify_event (BrowserCanvasItem *citem, G_GNUC_UNUSED GooCanvasItem *target_item,
+		     GdkEventMotion *event, G_GNUC_UNUSED gpointer data)
 {
 	gboolean retval = FALSE;
 
diff --git a/tools/browser/canvas/browser-canvas-print.c b/tools/browser/canvas/browser-canvas-print.c
index 17ad7fa..13e5ad7 100644
--- a/tools/browser/canvas/browser-canvas-print.c
+++ b/tools/browser/canvas/browser-canvas-print.c
@@ -100,20 +100,21 @@ browser_canvas_print (BrowserCanvas *canvas)
 }
 
 static void
-print_begin (GtkPrintOperation *operation, GtkPrintContext *context, PrintPageData *pdata)
+print_begin (GtkPrintOperation *operation, G_GNUC_UNUSED GtkPrintContext *context, PrintPageData *pdata)
 {
 	gtk_print_operation_set_n_pages (operation, pdata->h_npages * pdata->v_npages);
 	gtk_print_operation_set_default_page_setup (operation, pdata->page_setup);
 }
 
 static void
-print_end (GtkPrintOperation *operation, GtkPrintContext *context, PrintPageData *pdata)
+print_end (G_GNUC_UNUSED GtkPrintOperation *operation, G_GNUC_UNUSED GtkPrintContext *context,
+	   G_GNUC_UNUSED PrintPageData *pdata)
 {
 	
 }
 
 static void
-print_draw_page (GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, PrintPageData *pdata)
+print_draw_page (G_GNUC_UNUSED GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, PrintPageData *pdata)
 {
 	cairo_t *cr;
 	GooCanvasBounds bounds, canvas_bounds;
@@ -218,7 +219,7 @@ static void print_zoom_value_changed_cb (GtkSpinButton *entry, PrintCustomData *
 static void print_page_numbers_toggled_cb (GtkToggleButton *toggle, PrintCustomData *cdata);
 
 static GObject *
-print_create_custom_widget_cb (GtkPrintOperation *operation, PrintPageData *pdata)
+print_create_custom_widget_cb (G_GNUC_UNUSED GtkPrintOperation *operation, PrintPageData *pdata)
 {
 	GtkWidget *vbox, *bbox, *button, *label, *hbox, *table, *entry;
 	PrintCustomData *cdata;
diff --git a/tools/browser/canvas/browser-canvas-table.c b/tools/browser/canvas/browser-canvas-table.c
index a6e8be8..ea0cec2 100644
--- a/tools/browser/canvas/browser-canvas-table.c
+++ b/tools/browser/canvas/browser-canvas-table.c
@@ -199,7 +199,7 @@ static void
 browser_canvas_table_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasTable *ce = NULL;
 
@@ -236,7 +236,7 @@ static void
 browser_canvas_table_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasTable *ce = NULL;
 
@@ -403,8 +403,9 @@ create_items (BrowserCanvasTable *ce)
 }
 
 static gboolean
-button_press_event_cb (BrowserCanvasTable *ce, GooCanvasItem  *target_item, GdkEventButton *event,
-		       gpointer unused_data)
+button_press_event_cb (BrowserCanvasTable *ce, G_GNUC_UNUSED GooCanvasItem  *target_item,
+		       GdkEventButton *event,
+		       G_GNUC_UNUSED gpointer data)
 {
 	if ((event->button == 3) && ce->priv->popup_menu_func) {
 		GtkWidget *menu;
@@ -515,8 +516,9 @@ browser_canvas_table_new (GooCanvasItem *parent, GdaMetaStruct *mstruct, GdaMeta
 }
 
 static void
-browser_canvas_table_drag_data_get (BrowserCanvasItem *citem, GdkDragContext *drag_context,
-				    GtkSelectionData *data, guint info, guint time)
+browser_canvas_table_drag_data_get (BrowserCanvasItem *citem, G_GNUC_UNUSED GdkDragContext *drag_context,
+				    GtkSelectionData *data, G_GNUC_UNUSED guint info,
+				    G_GNUC_UNUSED guint time)
 {
 	BrowserCanvasTable *ctable;
 
diff --git a/tools/browser/canvas/browser-canvas-text.c b/tools/browser/canvas/browser-canvas-text.c
index 9e5dbba..1750846 100644
--- a/tools/browser/canvas/browser-canvas-text.c
+++ b/tools/browser/canvas/browser-canvas-text.c
@@ -225,7 +225,7 @@ static void
 browser_canvas_text_set_property (GObject *object,
 				  guint param_id,
 				  const GValue *value,
-				  GParamSpec *pspec)
+				  G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasText *ct = NULL;
 	const gchar *cstr = NULL;
@@ -296,8 +296,8 @@ browser_canvas_text_set_property (GObject *object,
 static void 
 browser_canvas_text_get_property    (GObject *object,
 				    guint param_id,
-				    GValue *value,
-				    GParamSpec *pspec)
+				    G_GNUC_UNUSED GValue *value,
+				    G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvasText *ct;
 
@@ -370,21 +370,23 @@ create_items (BrowserCanvasText *ct)
 }
 
 static gboolean
-enter_notify_cb (GooCanvasItem *item, GooCanvasItem *target_item, GdkEventCrossing *event, BrowserCanvasText *ct)
+enter_notify_cb (G_GNUC_UNUSED GooCanvasItem *item, G_GNUC_UNUSED GooCanvasItem *target_item,
+		 G_GNUC_UNUSED GdkEventCrossing *event, BrowserCanvasText *ct)
 {
 	browser_canvas_text_set_highlight (ct, TRUE);
 	return FALSE;
 }
 
 static gboolean 
-leave_notify_cb (GooCanvasItem *item, GooCanvasItem *target_item, GdkEventCrossing *event, BrowserCanvasText *ct)
+leave_notify_cb (G_GNUC_UNUSED GooCanvasItem *item, G_GNUC_UNUSED GooCanvasItem *target_item,
+		 G_GNUC_UNUSED GdkEventCrossing *event, BrowserCanvasText *ct)
 {
 	browser_canvas_text_set_highlight (ct, FALSE); 
 	return FALSE;
 }
 
 static guint
-compute_step_value (current, end)
+compute_step_value (guint current, guint end)
 {
 #define STEP 15
 	if (current < end)
diff --git a/tools/browser/canvas/browser-canvas.c b/tools/browser/canvas/browser-canvas.c
index 7348c0f..129cd0c 100644
--- a/tools/browser/canvas/browser-canvas.c
+++ b/tools/browser/canvas/browser-canvas.c
@@ -186,7 +186,8 @@ idle_add_canvas_cb (BrowserCanvas *canvas)
 }
 
 static void
-drag_begin_cb (BrowserCanvas *canvas, GdkDragContext *drag_context, GooCanvas *gcanvas)
+drag_begin_cb (BrowserCanvas *canvas, G_GNUC_UNUSED GdkDragContext *drag_context,
+	       G_GNUC_UNUSED GooCanvas *gcanvas)
 {
 	BrowserCanvasItem *citem;
 
@@ -202,7 +203,7 @@ drag_begin_cb (BrowserCanvas *canvas, GdkDragContext *drag_context, GooCanvas *g
 static void
 drag_data_get_cb (BrowserCanvas *canvas, GdkDragContext *drag_context,
 		  GtkSelectionData *data, guint info,
-		  guint time, GooCanvas *gcanvas)
+		  guint time, G_GNUC_UNUSED GooCanvas *gcanvas)
 {
 	BrowserCanvasItem *citem;
 
@@ -215,9 +216,9 @@ drag_data_get_cb (BrowserCanvas *canvas, GdkDragContext *drag_context,
 }
 
 static void
-drag_data_received_cb (BrowserCanvas *canvas, GdkDragContext *context,
-		       gint x, gint y, GtkSelectionData *data,
-		       guint info, guint time, GooCanvas *gcanvas)
+drag_data_received_cb (G_GNUC_UNUSED BrowserCanvas *canvas, GdkDragContext *context,
+		       gint x, gint y, G_GNUC_UNUSED GtkSelectionData *data,
+		       G_GNUC_UNUSED guint info, guint time, GooCanvas *gcanvas)
 {
 	GooCanvasItem *item;
 	item = goo_canvas_get_item_at (gcanvas, x, y, TRUE);
@@ -231,7 +232,7 @@ drag_data_received_cb (BrowserCanvas *canvas, GdkDragContext *context,
 }
 
 static gboolean
-canvas_scroll_event_cb (GooCanvas *gcanvas, GdkEvent *event, BrowserCanvas *canvas)
+canvas_scroll_event_cb (G_GNUC_UNUSED GooCanvas *gcanvas, GdkEvent *event, BrowserCanvas *canvas)
 {
 	gboolean done = TRUE;
 	GdkEventScroll *ev = (GdkEventScroll *) event;
@@ -262,7 +263,7 @@ canvas_scroll_event_cb (GooCanvas *gcanvas, GdkEvent *event, BrowserCanvas *canv
 static GdkCursor *hand_cursor = NULL;
 
 static gboolean
-motion_notify_event_cb (BrowserCanvas *canvas, GdkEvent *event, GooCanvas *gcanvas)
+motion_notify_event_cb (BrowserCanvas *canvas, GdkEvent *event, G_GNUC_UNUSED GooCanvas *gcanvas)
 {
 	gboolean done = TRUE;
 
@@ -458,37 +459,37 @@ canvas_event_cb (BrowserCanvas *canvas, GdkEvent *event, GooCanvas *gcanvas)
 }
 
 static void
-popup_layout_default_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_layout_default_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_perform_auto_layout (canvas, TRUE, BROWSER_CANVAS_LAYOUT_DEFAULT);
 }
 
 static void
-popup_layout_radial_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_layout_radial_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_perform_auto_layout (canvas, TRUE, BROWSER_CANVAS_LAYOUT_RADIAL);
 }
 
 static void
-popup_zoom_in_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_zoom_in_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_set_zoom_factor (canvas, browser_canvas_get_zoom_factor (canvas) + .05);
 }
 
 static void
-popup_zoom_out_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_zoom_out_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_set_zoom_factor (canvas, browser_canvas_get_zoom_factor (canvas) - .05);
 }
 
 static void
-popup_zoom_fit_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_zoom_fit_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_fit_zoom_factor (canvas);
 }
 
 static void
-popup_export_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_export_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	GtkWidget *dlg;
 	gint result;
@@ -612,7 +613,7 @@ popup_export_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
 }
 
 static void
-popup_print_cb (GtkMenuItem *mitem, BrowserCanvas *canvas)
+popup_print_cb (G_GNUC_UNUSED GtkMenuItem *mitem, BrowserCanvas *canvas)
 {
 	browser_canvas_print (canvas);
 }
@@ -697,8 +698,8 @@ browser_canvas_finalize (GObject *object)
 static void 
 browser_canvas_set_property (GObject *object,
 			   guint param_id,
-			   const GValue *value,
-			   GParamSpec *pspec)
+			   G_GNUC_UNUSED const GValue *value,
+			   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvas *canvas;
 	
@@ -711,8 +712,8 @@ browser_canvas_set_property (GObject *object,
 static void
 browser_canvas_get_property (GObject *object,
 			   guint param_id,
-			   GValue *value,
-			   GParamSpec *pspec)
+			   G_GNUC_UNUSED GValue *value,
+			   G_GNUC_UNUSED GParamSpec *pspec)
 {
 	BrowserCanvas *canvas;
 	
@@ -1060,7 +1061,7 @@ browser_canvas_perform_auto_layout (BrowserCanvas *canvas, gboolean animate, Bro
 
 #ifdef HAVE_GRAPHVIZ
 static gdouble
-compute_animation_inc (float start, float stop, float current)
+compute_animation_inc (float start, float stop, G_GNUC_UNUSED float current)
 {
         gdouble inc;
 #ifndef PI
@@ -1230,7 +1231,7 @@ browser_canvas_item_toggle_select (BrowserCanvas *canvas, BrowserCanvasItem *ite
 }
 
 void
-browser_canvas_translate_item (BrowserCanvas *canvas, BrowserCanvasItem *item,
+browser_canvas_translate_item (G_GNUC_UNUSED BrowserCanvas *canvas, BrowserCanvasItem *item,
 			       gdouble dx, gdouble dy)
 {
 	browser_canvas_item_translate (item, dx, dy);
diff --git a/tools/browser/common/gdaui-entry-import.c b/tools/browser/common/gdaui-entry-import.c
index d743077..9aac979 100644
--- a/tools/browser/common/gdaui-entry-import.c
+++ b/tools/browser/common/gdaui-entry-import.c
@@ -285,7 +285,7 @@ real_get_value (GdauiEntryWrapper *mgwrap)
 }
 
 static void
-connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activate_cb)
+connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, G_GNUC_UNUSED GCallback activate_cb)
 {
 	GdauiEntryImport *mgtxt;
 
@@ -297,7 +297,7 @@ connect_signals(GdauiEntryWrapper *mgwrap, GCallback modify_cb, GCallback activa
 }
 
 static gboolean
-can_expand (GdauiEntryWrapper *mgwrap, gboolean horiz)
+can_expand (G_GNUC_UNUSED GdauiEntryWrapper *mgwrap, G_GNUC_UNUSED gboolean horiz)
 {
 	return FALSE;
 }
diff --git a/tools/browser/common/objects-cloud.c b/tools/browser/common/objects-cloud.c
index dbedc8a..5d9615d 100644
--- a/tools/browser/common/objects-cloud.c
+++ b/tools/browser/common/objects-cloud.c
@@ -84,7 +84,7 @@ objects_cloud_class_init (ObjectsCloudClass *klass)
 
 
 static void
-objects_cloud_init (ObjectsCloud *cloud, ObjectsCloudClass *klass)
+objects_cloud_init (ObjectsCloud *cloud, G_GNUC_UNUSED ObjectsCloudClass *klass)
 {
 	cloud->priv = g_new0 (ObjectsCloudPrivate, 1);
 	cloud->priv->show_schemas = FALSE;
@@ -522,7 +522,7 @@ set_cursor_if_appropriate (GtkTextView *text_view, gint x, gint y, ObjectsCloud
  * (e.g. when a window covering it got iconified).
  */
 static gboolean
-visibility_notify_event (GtkWidget *text_view, GdkEventVisibility *event, ObjectsCloud *cloud)
+visibility_notify_event (GtkWidget *text_view, G_GNUC_UNUSED GdkEventVisibility *event, ObjectsCloud *cloud)
 {
 	gint wx, wy, bx, by;
 
@@ -568,7 +568,7 @@ motion_notify_event (GtkWidget *text_view, GdkEventMotion *event, ObjectsCloud *
  * by the data attached to it.
  */
 static void
-follow_if_link (GtkWidget *text_view, GtkTextIter *iter, ObjectsCloud *cloud)
+follow_if_link (G_GNUC_UNUSED GtkWidget *text_view, GtkTextIter *iter, ObjectsCloud *cloud)
 {
 	GSList *tags = NULL, *tagp = NULL;
 	
diff --git a/tools/browser/common/ui-formgrid.c b/tools/browser/common/ui-formgrid.c
index edc3adb..9c363e2 100644
--- a/tools/browser/common/ui-formgrid.c
+++ b/tools/browser/common/ui-formgrid.c
@@ -329,7 +329,7 @@ ui_formgrid_handle_user_prefs (UiFormGrid *formgrid, BrowserConnection *bcnc, Gd
 static void
 ui_formgrid_set_property (GObject *object,
 				guint param_id,
-				const GValue *value,
+				G_GNUC_UNUSED const GValue *value,
 				GParamSpec *pspec)
 {
 	UiFormGrid *formgrid;
diff --git a/tools/browser/connection-binding-properties.c b/tools/browser/connection-binding-properties.c
index 02d6f9a..5fcf476 100644
--- a/tools/browser/connection-binding-properties.c
+++ b/tools/browser/connection-binding-properties.c
@@ -320,7 +320,7 @@ add_part_mitem_cb (GtkMenuItem *mitem, ConnectionBindingProperties *cprop)
 }
 
 static void
-add_part_clicked_cb (GtkWidget *button, ConnectionBindingProperties *cprop)
+add_part_clicked_cb (G_GNUC_UNUSED GtkWidget *button, ConnectionBindingProperties *cprop)
 {
 	if (! cprop->priv->menu) {
 		GtkWidget *menu, *entry;
@@ -386,7 +386,8 @@ part_for_model_holder_changed_cb (GdaSet *set, GdaHolder *holder, BrowserVirtual
 }
 
 static GdauiDataEntry *
-plugin_entry_import_create_func (GdaDataHandler *handler, GType type, const gchar *options)
+plugin_entry_import_create_func (G_GNUC_UNUSED GdaDataHandler *handler, GType type,
+				 G_GNUC_UNUSED const gchar *options)
 {
 	return GDAUI_DATA_ENTRY (gdaui_entry_import_new (type));
 }
@@ -444,8 +445,8 @@ create_part_for_model (ConnectionBindingProperties *cprop, BrowserVirtualConnect
 }
 
 static GError *
-part_for_cnc_validate_holder_change_cb (GdaSet *set, GdaHolder *holder, GValue *new_value,
-					BrowserVirtualConnectionCnc *cnc)
+part_for_cnc_validate_holder_change_cb (G_GNUC_UNUSED GdaSet *set, GdaHolder *holder, GValue *new_value,
+					G_GNUC_UNUSED BrowserVirtualConnectionCnc *cnc)
 {
 	const gchar *hid;
 
diff --git a/tools/browser/data-manager/data-console.c b/tools/browser/data-manager/data-console.c
index b930b8c..5d61cd7 100644
--- a/tools/browser/data-manager/data-console.c
+++ b/tools/browser/data-manager/data-console.c
@@ -169,7 +169,7 @@ data_console_page_init (BrowserPageIface *iface)
 }
 
 static void
-data_console_init (DataConsole *dconsole, DataConsoleClass *klass)
+data_console_init (DataConsole *dconsole, G_GNUC_UNUSED DataConsoleClass *klass)
 {
 	dconsole->priv = g_new0 (DataConsolePrivate, 1);
 	dconsole->priv->layout_type = LAYOUT_HORIZ;
@@ -614,14 +614,14 @@ save_clicked_cb (GtkWidget *button, DataConsole *dconsole)
 }
 
 static void
-execute_clicked_cb (GtkButton *button, DataConsole *dconsole)
+execute_clicked_cb (G_GNUC_UNUSED GtkButton *button, DataConsole *dconsole)
 {
 	data_console_execute (dconsole);
 }
 
 #ifdef HAVE_GDU
 static void
-help_clicked_cb (GtkButton *button, DataConsole *dconsole)
+help_clicked_cb (G_GNUC_UNUSED GtkButton *button, DataConsole *dconsole)
 {
 	browser_show_help ((GtkWindow*) gtk_widget_get_toplevel ((GtkWidget*) dconsole),
 			   "data-manager-perspective");
@@ -659,7 +659,7 @@ spec_editor_toggled_cb (GtkToggleButton *button, DataConsole *dconsole)
 }
 
 static void
-param_activated_cb (GdauiBasicForm *form, DataConsole *dconsole)
+param_activated_cb (G_GNUC_UNUSED GdauiBasicForm *form, DataConsole *dconsole)
 {
 	DataWidget *dwid = NULL;
 	if (dconsole->priv->data)
@@ -669,7 +669,8 @@ param_activated_cb (GdauiBasicForm *form, DataConsole *dconsole)
 }
 
 static void
-data_source_source_changed_cb (DataSourceManager *mgr, DataSource *source, DataConsole *dconsole)
+data_source_source_changed_cb (DataSourceManager *mgr, G_GNUC_UNUSED DataSource *source,
+			       DataConsole *dconsole)
 {
 	data_source_mgr_changed_cb (mgr, dconsole);
 }
@@ -703,7 +704,7 @@ data_source_mgr_changed_cb (DataSourceManager *mgr, DataConsole *dconsole)
 }
 
 static void
-editor_clear_clicked_cb (GtkButton *button, DataConsole *dconsole)
+editor_clear_clicked_cb (G_GNUC_UNUSED GtkButton *button, DataConsole *dconsole)
 {
 	xml_spec_editor_set_xml_text (XML_SPEC_EDITOR (dconsole->priv->xml_sped), DEFAULT_XML);
 	gtk_widget_grab_focus (dconsole->priv->xml_sped);
@@ -744,7 +745,7 @@ dbo_sort (GdaMetaDbObject *dbo1, GdaMetaDbObject *dbo2)
 }
 
 static void
-add_source_clicked_cb (GtkButton *button, DataConsole *dconsole)
+add_source_clicked_cb (G_GNUC_UNUSED GtkButton *button, DataConsole *dconsole)
 {
 	GdaMetaStruct *mstruct;
 	mstruct = browser_connection_get_meta_struct (dconsole->priv->bcnc);
@@ -835,7 +836,7 @@ add_source_clicked_cb (GtkButton *button, DataConsole *dconsole)
  * UI actions
  */
 static void
-compose_mode_toggled_cb (GtkToggleAction *action, DataConsole *dconsole)
+compose_mode_toggled_cb (G_GNUC_UNUSED GtkToggleAction *action, DataConsole *dconsole)
 {
 	gint pagenb;
 
@@ -927,7 +928,7 @@ data_console_page_get_actions_group (BrowserPage *page)
 }
 
 static const gchar *
-data_console_page_get_actions_ui (BrowserPage *page)
+data_console_page_get_actions_ui (G_GNUC_UNUSED BrowserPage *page)
 {
 	return ui_actions_console;
 }
diff --git a/tools/browser/data-manager/data-favorite-selector.c b/tools/browser/data-manager/data-favorite-selector.c
index 9ada444..02712a6 100644
--- a/tools/browser/data-manager/data-favorite-selector.c
+++ b/tools/browser/data-manager/data-favorite-selector.c
@@ -115,7 +115,7 @@ data_favorite_selector_class_init (DataFavoriteSelectorClass *klass)
 
 
 static void
-data_favorite_selector_init (DataFavoriteSelector *tsel,	DataFavoriteSelectorClass *klass)
+data_favorite_selector_init (DataFavoriteSelector *tsel, G_GNUC_UNUSED DataFavoriteSelectorClass *klass)
 {
 	tsel->priv = g_new0 (DataFavoriteSelectorPrivate, 1);
 	tsel->priv->idle_update_favorites = 0;
@@ -211,8 +211,8 @@ key_press_event_cb (GtkTreeView *treeview, GdkEventKey *event, DataFavoriteSelec
 
 
 static void
-selection_changed_cb (GtkTreeView *treeview, GtkTreePath *path,
-		      GtkTreeViewColumn *column, DataFavoriteSelector *tsel)
+selection_changed_cb (GtkTreeView *treeview, G_GNUC_UNUSED GtkTreePath *path,
+		      G_GNUC_UNUSED GtkTreeViewColumn *column, DataFavoriteSelector *tsel)
 {
 	GtkTreeModel *model;
 	GtkTreeSelection *select;
@@ -267,7 +267,7 @@ prop_save_timeout (DataFavoriteSelector *tsel)
 }
 
 static void
-property_changed_cb (GtkWidget *multiple, DataFavoriteSelector *tsel)
+property_changed_cb (G_GNUC_UNUSED GtkWidget *multiple, DataFavoriteSelector *tsel)
 {
 	if (tsel->priv->prop_save_timeout)
 		g_source_remove (tsel->priv->prop_save_timeout);
@@ -384,7 +384,7 @@ properties_activated_cb (GtkMenuItem *mitem, DataFavoriteSelector *tsel)
 }
 
 static void
-do_popup_menu (GtkWidget *widget, GdkEventButton *event, DataFavoriteSelector *tsel)
+do_popup_menu (G_GNUC_UNUSED GtkWidget *widget, GdkEventButton *event, DataFavoriteSelector *tsel)
 {
 	int button, event_time;
 
@@ -558,8 +558,8 @@ data_favorite_selector_new (BrowserConnection *bcnc)
 }
 
 static void
-cell_data_func (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
-		GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
+cell_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
+		GtkTreeModel *tree_model, GtkTreeIter *iter, G_GNUC_UNUSED gpointer data)
 {
 	gchar *name;
 	gchar *tmp;
@@ -588,8 +588,8 @@ idle_update_favorites (DataFavoriteSelector *tsel)
 }
 
 static gboolean
-tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
-			 DataFavoriteSelector *tsel)
+tree_store_drag_drop_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			 GtkSelectionData *selection_data, DataFavoriteSelector *tsel)
 {
 	BrowserFavorites *bfav;
 	BrowserFavoritesAttributes fav;
@@ -637,7 +637,8 @@ tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionD
 }
 
 static gboolean
-tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, DataFavoriteSelector *tsel)
+tree_store_drag_can_drag_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			     DataFavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
 	node = gda_tree_get_node (tsel->priv->tree, path, FALSE);
@@ -651,8 +652,8 @@ tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, DataFavor
 }
 
 static gboolean
-tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
-			DataFavoriteSelector *tsel)
+tree_store_drag_get_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			GtkSelectionData *selection_data, DataFavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
 	node = gda_tree_get_node (tsel->priv->tree, path, FALSE);
@@ -676,7 +677,7 @@ tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionDa
 }
 
 static void
-favorites_changed_cb (BrowserFavorites *bfav, DataFavoriteSelector *tsel)
+favorites_changed_cb (G_GNUC_UNUSED BrowserFavorites *bfav, DataFavoriteSelector *tsel)
 {
 	if (! gda_tree_update_all (tsel->priv->tree, NULL)) {
 		if (tsel->priv->idle_update_favorites == 0)
diff --git a/tools/browser/data-manager/data-manager-perspective.c b/tools/browser/data-manager/data-manager-perspective.c
index e41bbf7..b87706b 100644
--- a/tools/browser/data-manager/data-manager-perspective.c
+++ b/tools/browser/data-manager/data-manager-perspective.c
@@ -244,7 +244,7 @@ add_new_data_console (BrowserPerspective *bpers, gint fav_id)
 }
 
 static void
-fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
+fav_selection_changed_cb (G_GNUC_UNUSED GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
                           const gchar *selection, DataManagerPerspective *perspective)
 {
 	/* find or create page for this favorite */
@@ -295,7 +295,7 @@ fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType f
 }
 
 static void
-nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
+nb_switch_page_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, gint page_num,
                    DataManagerPerspective *perspective)
 {
         GtkWidget *page_contents;
@@ -315,7 +315,7 @@ nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
 }
 
 static void
-nb_page_removed_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
+nb_page_removed_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, G_GNUC_UNUSED gint page_num,
                     DataManagerPerspective *perspective)
 {
         if (gtk_notebook_get_n_pages (nb) == 0) {
@@ -327,14 +327,14 @@ nb_page_removed_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
 }
 
 static void
-nb_page_added_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
-		  DataManagerPerspective *perspective)
+nb_page_added_cb (G_GNUC_UNUSED GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page,
+		  G_GNUC_UNUSED gint page_num, DataManagerPerspective *perspective)
 {
 	adapt_notebook_for_fullscreen (perspective);
 }
 
 static void
-close_button_clicked_cb (GtkWidget *wid, GtkWidget *page_widget)
+close_button_clicked_cb (G_GNUC_UNUSED GtkWidget *wid, GtkWidget *page_widget)
 {
         gtk_widget_destroy (page_widget);
 }
@@ -351,7 +351,7 @@ adapt_notebook_for_fullscreen (DataManagerPerspective *perspective)
 }
 
 static void
-fullscreen_changed_cb (BrowserWindow *bwin, gboolean fullscreen, DataManagerPerspective *perspective)
+fullscreen_changed_cb (G_GNUC_UNUSED BrowserWindow *bwin, gboolean fullscreen, DataManagerPerspective *perspective)
 {
 	perspective->priv->fullscreen = fullscreen;
 	adapt_notebook_for_fullscreen (perspective);
@@ -385,7 +385,7 @@ data_manager_perspective_dispose (GObject *object)
 }
 
 static void
-manager_new_cb (GtkAction *action, BrowserPerspective *bpers)
+manager_new_cb (G_GNUC_UNUSED GtkAction *action, BrowserPerspective *bpers)
 {
 	add_new_data_console (bpers, -1);
 }
@@ -448,7 +448,7 @@ data_manager_perspective_get_actions_group (BrowserPerspective *bpers)
 }
 
 static const gchar *
-data_manager_perspective_get_actions_ui (BrowserPerspective *bpers)
+data_manager_perspective_get_actions_ui (G_GNUC_UNUSED BrowserPerspective *bpers)
 {
 	return ui_actions_info;
 }
diff --git a/tools/browser/data-manager/data-source-editor.c b/tools/browser/data-manager/data-source-editor.c
index cf51da4..f963871 100644
--- a/tools/browser/data-manager/data-source-editor.c
+++ b/tools/browser/data-manager/data-source-editor.c
@@ -349,7 +349,7 @@ data_source_editor_display_source (DataSourceEditor *editor, DataSource *source)
 }
 
 static void
-attribute_changed_cb (GdaSet *set, GdaHolder *holder, DataSourceEditor *editor)
+attribute_changed_cb (G_GNUC_UNUSED GdaSet *set, GdaHolder *holder, DataSourceEditor *editor)
 {
 	const gchar *id, *str = NULL;
 	const GValue *cvalue;
diff --git a/tools/browser/data-manager/data-source-manager.c b/tools/browser/data-manager/data-source-manager.c
index c5ba40e..f2ae498 100644
--- a/tools/browser/data-manager/data-source-manager.c
+++ b/tools/browser/data-manager/data-source-manager.c
@@ -493,7 +493,7 @@ data_source_manager_get_params (DataSourceManager *mgr)
  * Returns: an array of arrays of pointer to the #DataSource objects
  */
 GArray *
-data_source_manager_get_sources_array (DataSourceManager *mgr, GError **error)
+data_source_manager_get_sources_array (DataSourceManager *mgr, G_GNUC_UNUSED GError **error)
 {
 	g_return_val_if_fail (IS_DATA_SOURCE_MANAGER (mgr), NULL);
 
diff --git a/tools/browser/data-manager/data-source.c b/tools/browser/data-manager/data-source.c
index 4f33de6..9249df6 100644
--- a/tools/browser/data-manager/data-source.c
+++ b/tools/browser/data-manager/data-source.c
@@ -233,13 +233,13 @@ data_source_init (DataSource *source)
 }
 
 static void
-params_changed_cb (GdaSet *params, GdaHolder *holder, DataSource *source)
+params_changed_cb (G_GNUC_UNUSED GdaSet *params, G_GNUC_UNUSED GdaHolder *holder, DataSource *source)
 {
 	source->priv->need_rerun = TRUE;
 }
 
 static void
-ext_params_changed_cb (GdaSet *params, GdaHolder *holder, DataSource *source)
+ext_params_changed_cb (G_GNUC_UNUSED GdaSet *params, G_GNUC_UNUSED GdaHolder *holder, DataSource *source)
 {
 #ifdef DEBUG_SOURCE
 	g_print ("  => data source [%s] should rerun\n",
diff --git a/tools/browser/data-manager/data-widget.c b/tools/browser/data-manager/data-widget.c
index b4cf2c8..5e3a075 100644
--- a/tools/browser/data-manager/data-widget.c
+++ b/tools/browser/data-manager/data-widget.c
@@ -93,7 +93,7 @@ data_widget_class_init (DataWidgetClass *klass)
 
 
 static void
-data_widget_init (DataWidget *dwid, DataWidgetClass *klass)
+data_widget_init (DataWidget *dwid, G_GNUC_UNUSED DataWidgetClass *klass)
 {
 	g_return_if_fail (IS_DATA_WIDGET (dwid));
 
@@ -315,7 +315,7 @@ pack_in_paned_list (GSList *paned_list, gint length, gint pos, GtkWidget *wid)
 }
 
 static void
-remove_data_source_mitem_activated_cb (GtkMenuItem *mitem, DataPart *part)
+remove_data_source_mitem_activated_cb (G_GNUC_UNUSED GtkMenuItem *mitem, DataPart *part)
 {
 	data_source_manager_remove_source (part->dwid->priv->mgr, part->source);
 }
@@ -377,7 +377,7 @@ data_source_props_activated_cb (GtkCheckMenuItem *mitem, DataPart *part)
 static gchar *compute_fk_dependency (GdaMetaTableForeignKey *fkey, GSList *selfields, gboolean reverse,
 				     DataPart *part, xmlNodePtr *out_sourcespec);
 static void
-data_source_menu_clicked_cb (GtkButton *button, DataPart *part)
+data_source_menu_clicked_cb (G_GNUC_UNUSED GtkButton *button, DataPart *part)
 {
 	if (! part->menu) {
 		GtkWidget *menu, *mitem;
@@ -734,7 +734,7 @@ update_layout (DataWidget *dwid)
 }
 
 static void
-mgr_list_changed_cb (DataSourceManager *mgr, DataWidget *dwid)
+mgr_list_changed_cb (G_GNUC_UNUSED DataSourceManager *mgr, DataWidget *dwid)
 {
 	update_layout (dwid);
 }
@@ -820,7 +820,7 @@ source_exec_started_cb_timeout (DataPart *part)
 }
 
 static void
-source_exec_started_cb (DataSource *source, DataPart *part)
+source_exec_started_cb (G_GNUC_UNUSED DataSource *source, DataPart *part)
 {
 	if (! part->spinner_show_timer_id)
 		part->spinner_show_timer_id = g_timeout_add (300,
@@ -830,7 +830,7 @@ source_exec_started_cb (DataSource *source, DataPart *part)
 
 static void data_part_selection_changed_cb (GdauiDataSelector *gdauidataselector, DataPart *part);
 static void
-source_exec_finished_cb (DataSource *source, GError *error, DataPart *part)
+source_exec_finished_cb (G_GNUC_UNUSED DataSource *source, GError *error, DataPart *part)
 {
 	GtkWidget *wid;
 	if (part->spinner_show_timer_id) {
@@ -929,7 +929,7 @@ source_exec_finished_cb (DataSource *source, GError *error, DataPart *part)
 }
 
 static void
-data_part_selection_changed_cb (GdauiDataSelector *gdauidataselector, DataPart *part)
+data_part_selection_changed_cb (G_GNUC_UNUSED GdauiDataSelector *gdauidataselector, DataPart *part)
 {
 	if (part->export_data) {
 		GSList *list;
diff --git a/tools/browser/data-manager/ui-spec-editor.c b/tools/browser/data-manager/ui-spec-editor.c
index 308907f..4b013dd 100644
--- a/tools/browser/data-manager/ui-spec-editor.c
+++ b/tools/browser/data-manager/ui-spec-editor.c
@@ -64,8 +64,8 @@ ui_spec_editor_class_init (UiSpecEditorClass *klass)
 }
 
 static void
-cell_text_data_func (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
-		     GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
+cell_text_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
+		     GtkTreeModel *tree_model, GtkTreeIter *iter, G_GNUC_UNUSED gpointer data)
 {
 	DataSource *source;
 	gtk_tree_model_get (tree_model, iter, COLUMN_DATA_SOURCE, &source, -1);
@@ -97,8 +97,8 @@ cell_text_data_func (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
 }
 
 static void
-cell_pixbuf_data_func (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
-		       GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
+cell_pixbuf_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
+		       GtkTreeModel *tree_model, GtkTreeIter *iter, G_GNUC_UNUSED gpointer data)
 {
 	DataSource *source;
 	gtk_tree_model_get (tree_model, iter, COLUMN_DATA_SOURCE, &source, -1);
@@ -132,7 +132,7 @@ data_source_selection_changed_cb (GtkTreeSelection *sel, UiSpecEditor *uied)
 }
 
 static void
-ui_spec_editor_init (UiSpecEditor *sped, UiSpecEditorClass *klass)
+ui_spec_editor_init (UiSpecEditor *sped, G_GNUC_UNUSED UiSpecEditorClass *klass)
 {
 	g_return_if_fail (IS_UI_SPEC_EDITOR (sped));
 
@@ -293,7 +293,7 @@ mgr_changed_cb (DataSourceManager *mgr, UiSpecEditor *sped)
 }
 
 static void
-mgr_source_changed_cb (DataSourceManager *mgr, DataSource *source, UiSpecEditor *sped)
+mgr_source_changed_cb (G_GNUC_UNUSED DataSourceManager *mgr, DataSource *source, UiSpecEditor *sped)
 {
 	GtkTreeIter iter;
 	GtkTreeModel *tree_model = GTK_TREE_MODEL (sped->priv->sources_model);
diff --git a/tools/browser/data-manager/xml-spec-editor.c b/tools/browser/data-manager/xml-spec-editor.c
index 47898a0..3b41010 100644
--- a/tools/browser/data-manager/xml-spec-editor.c
+++ b/tools/browser/data-manager/xml-spec-editor.c
@@ -85,7 +85,7 @@ xml_spec_editor_grab_focus (GtkWidget *widget)
 }
 
 static void
-xml_spec_editor_init (XmlSpecEditor *sped, XmlSpecEditorClass *klass)
+xml_spec_editor_init (XmlSpecEditor *sped, G_GNUC_UNUSED XmlSpecEditorClass *klass)
 {
 	g_return_if_fail (IS_XML_SPEC_EDITOR (sped));
 
@@ -252,7 +252,7 @@ signal_editor_changed (XmlSpecEditor *sped)
 }
 
 static void
-editor_changed_cb (GtkTextBuffer *buffer, XmlSpecEditor *sped)
+editor_changed_cb (G_GNUC_UNUSED GtkTextBuffer *buffer, XmlSpecEditor *sped)
 {
 	if (sped->priv->signal_editor_changed_id)
 		g_source_remove (sped->priv->signal_editor_changed_id);
@@ -260,7 +260,7 @@ editor_changed_cb (GtkTextBuffer *buffer, XmlSpecEditor *sped)
 }
 
 static void
-source_list_changed_cb (DataSourceManager *mgr, XmlSpecEditor *sped)
+source_list_changed_cb (G_GNUC_UNUSED DataSourceManager *mgr, XmlSpecEditor *sped)
 {
 	xmlDocPtr doc;
 	xmlNodePtr root;
@@ -289,7 +289,7 @@ source_list_changed_cb (DataSourceManager *mgr, XmlSpecEditor *sped)
 }
 
 static void
-data_source_changed_cb (DataSourceManager *mgr, DataSource *source, XmlSpecEditor *sped)
+data_source_changed_cb (DataSourceManager *mgr, G_GNUC_UNUSED DataSource *source, XmlSpecEditor *sped)
 {
 	source_list_changed_cb (mgr, sped);
 }
diff --git a/tools/browser/dummy-perspective/dummy-perspective.c b/tools/browser/dummy-perspective/dummy-perspective.c
index 7081261..75c5a76 100644
--- a/tools/browser/dummy-perspective/dummy-perspective.c
+++ b/tools/browser/dummy-perspective/dummy-perspective.c
@@ -107,7 +107,7 @@ dummy_perspective_init (DummyPerspective *perspective)
  * Creates new #BrowserPerspective widget which 
  */
 BrowserPerspective *
-dummy_perspective_new (BrowserWindow *bwin)
+dummy_perspective_new (G_GNUC_UNUSED BrowserWindow *bwin)
 {
 	BrowserPerspective *bpers;
 	bpers = (BrowserPerspective*) g_object_new (TYPE_DUMMY_PERSPECTIVE, NULL);
@@ -131,13 +131,13 @@ dummy_perspective_dispose (GObject *object)
 }
 
 static void
-dummy_add_cb (GtkAction *action, BrowserPerspective *bpers)
+dummy_add_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED BrowserPerspective *bpers)
 {
 	g_print ("Add something...\n");
 }
 
 static void
-dummy_list_cb (GtkAction *action, BrowserPerspective *bpers)
+dummy_list_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED BrowserPerspective *bpers)
 {
 	g_print ("List something...\n");
 }
@@ -178,7 +178,7 @@ dummy_perspective_get_actions_group (BrowserPerspective *bpers)
 }
 
 static const gchar *
-dummy_perspective_get_actions_ui (BrowserPerspective *bpers)
+dummy_perspective_get_actions_ui (G_GNUC_UNUSED BrowserPerspective *bpers)
 {
 	return ui_actions_info;
 }
diff --git a/tools/browser/login-dialog.c b/tools/browser/login-dialog.c
index deec133..2472cf2 100644
--- a/tools/browser/login-dialog.c
+++ b/tools/browser/login-dialog.c
@@ -92,7 +92,7 @@ login_dialog_class_init (LoginDialogClass *class)
 }
 
 static void
-login_contents_changed_cb (GdauiLogin *login, gboolean is_valid, LoginDialog *dialog)
+login_contents_changed_cb (G_GNUC_UNUSED GdauiLogin *login, gboolean is_valid, LoginDialog *dialog)
 {
 	gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT, is_valid);
 	if (is_valid)
diff --git a/tools/browser/mgr-favorites.c b/tools/browser/mgr-favorites.c
index 56d92f2..7bcd232 100644
--- a/tools/browser/mgr-favorites.c
+++ b/tools/browser/mgr-favorites.c
@@ -83,7 +83,7 @@ mgr_favorites_class_init (MgrFavoritesClass *klass)
 }
 
 static void
-mgr_favorites_init (MgrFavorites *mgr, MgrFavoritesClass *klass)
+mgr_favorites_init (MgrFavorites *mgr, G_GNUC_UNUSED MgrFavoritesClass *klass)
 {
 	mgr->priv = g_new0 (MgrFavoritesPriv, 1);
 }
@@ -141,7 +141,7 @@ static void
 mgr_favorites_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         MgrFavorites *mgr;
 
@@ -162,7 +162,7 @@ static void
 mgr_favorites_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         MgrFavorites *mgr;
 
diff --git a/tools/browser/query-exec/query-console.c b/tools/browser/query-exec/query-console.c
index a741625..902dccb 100644
--- a/tools/browser/query-exec/query-console.c
+++ b/tools/browser/query-exec/query-console.c
@@ -175,7 +175,7 @@ query_console_page_init (BrowserPageIface *iface)
 }
 
 static void
-query_console_init (QueryConsole *tconsole, QueryConsoleClass *klass)
+query_console_init (QueryConsole *tconsole, G_GNUC_UNUSED QueryConsoleClass *klass)
 {
 	tconsole->priv = g_new0 (QueryConsolePrivate, 1);
 	tconsole->priv->parser = NULL;
@@ -457,7 +457,7 @@ query_console_new (BrowserConnection *bcnc)
 }
 
 static void
-connection_busy_cb (BrowserConnection *bcnc, gboolean is_busy, gchar *reason, QueryConsole *tconsole)
+connection_busy_cb (G_GNUC_UNUSED BrowserConnection *bcnc, gboolean is_busy, G_GNUC_UNUSED gchar *reason, QueryConsole *tconsole)
 {
 	gtk_widget_set_sensitive (tconsole->priv->exec_button, !is_busy);
 	gtk_widget_set_sensitive (tconsole->priv->indent_button, !is_busy);
@@ -470,7 +470,7 @@ connection_busy_cb (BrowserConnection *bcnc, gboolean is_busy, gchar *reason, Qu
 }
 
 static void
-history_changed_cb (QueryEditor *history, QueryConsole *tconsole)
+history_changed_cb (G_GNUC_UNUSED QueryEditor *history, QueryConsole *tconsole)
 {
 	gboolean act = FALSE;
 	QueryEditor *qe;
@@ -494,13 +494,13 @@ history_changed_cb (QueryEditor *history, QueryConsole *tconsole)
 }
 
 static void
-history_clear_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+history_clear_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	query_editor_del_all_history_items (tconsole->priv->history);
 }
 
 static void
-history_copy_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+history_copy_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	QueryEditorHistoryItem *qih;
 	QueryEditor *qe;
@@ -596,7 +596,7 @@ compute_params (QueryConsole *tconsole)
 }
 
 static void
-editor_changed_cb (QueryEditor *editor, QueryConsole *tconsole)
+editor_changed_cb (G_GNUC_UNUSED QueryEditor *editor, QueryConsole *tconsole)
 {
 	if (tconsole->priv->params_compute_id)
 		g_source_remove (tconsole->priv->params_compute_id);
@@ -604,7 +604,7 @@ editor_changed_cb (QueryEditor *editor, QueryConsole *tconsole)
 }
 
 static void
-editor_execute_request_cb (QueryEditor *editor, QueryConsole *tconsole)
+editor_execute_request_cb (G_GNUC_UNUSED QueryEditor *editor, QueryConsole *tconsole)
 {
 	gboolean sensitive;
 	g_object_get (tconsole->priv->exec_button, "sensitive", &sensitive, NULL);
@@ -622,14 +622,14 @@ sql_variables_clicked_cb (GtkToggleButton *button, QueryConsole *tconsole)
 }
 
 static void
-sql_clear_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+sql_clear_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	query_editor_set_text (tconsole->priv->editor, NULL);
 	gtk_widget_grab_focus (GTK_WIDGET (tconsole->priv->editor));
 }
 
 static void
-sql_indent_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+sql_indent_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	gchar *sql;
 	GdaBatch *batch;
@@ -664,7 +664,7 @@ sql_indent_clicked_cb (GtkButton *button, QueryConsole *tconsole)
 }
 
 static void
-sql_favorite_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+sql_favorite_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	BrowserFavorites *bfav;
 	BrowserFavoritesAttributes fav;
@@ -722,7 +722,8 @@ popup_container_position_func (PopupContainer *cont, gint *out_x, gint *out_y)
 }
 
 static void
-params_form_changed_cb (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modif, QueryConsole *tconsole)
+params_form_changed_cb (GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param,
+			G_GNUC_UNUSED gboolean is_user_modif, QueryConsole *tconsole)
 {
 	/* if all params are valid => authorize the execute button */
 	GtkWidget *button;
@@ -735,7 +736,7 @@ params_form_changed_cb (GdauiBasicForm *form, GdaHolder *param, gboolean is_user
 static gboolean query_exec_fetch_cb (QueryConsole *tconsole);
 
 static void
-sql_execute_clicked_cb (GtkButton *button, QueryConsole *tconsole)
+sql_execute_clicked_cb (G_GNUC_UNUSED GtkButton *button, QueryConsole *tconsole)
 {
 	gchar *sql;
 	const gchar *remain;
@@ -1011,14 +1012,14 @@ query_console_set_text (QueryConsole *console, const gchar *text)
  * UI actions
  */
 static void
-query_execute_cb (GtkAction *action, QueryConsole *tconsole)
+query_execute_cb (G_GNUC_UNUSED GtkAction *action, QueryConsole *tconsole)
 {
 	sql_execute_clicked_cb (NULL, tconsole);
 }
 
 #ifdef HAVE_GTKSOURCEVIEW
 static void
-editor_undo_cb (GtkAction *action, QueryConsole *tconsole)
+editor_undo_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED QueryConsole *tconsole)
 {
 	TO_IMPLEMENT;
 }
@@ -1063,7 +1064,7 @@ query_console_page_get_actions_group (BrowserPage *page)
 }
 
 static const gchar *
-query_console_page_get_actions_ui (BrowserPage *page)
+query_console_page_get_actions_ui (G_GNUC_UNUSED BrowserPage *page)
 {
 	return ui_actions_console;
 }
diff --git a/tools/browser/query-exec/query-editor.c b/tools/browser/query-exec/query-editor.c
index 01205c6..f975e17 100644
--- a/tools/browser/query-exec/query-editor.c
+++ b/tools/browser/query-exec/query-editor.c
@@ -234,7 +234,7 @@ query_editor_class_init (QueryEditorClass *klass)
 }
 
 static void
-text_buffer_changed_cb (GtkTextBuffer *buffer, QueryEditor *editor)
+text_buffer_changed_cb (G_GNUC_UNUSED GtkTextBuffer *buffer, QueryEditor *editor)
 {
 	if (editor->priv->mode != QUERY_EDITOR_HISTORY)
 		g_signal_emit (editor, query_editor_signals[CHANGED], 0);
@@ -314,8 +314,8 @@ get_string_to_complete (QueryEditor *editor, gchar **out_start_pos)
 }
 
 static void
-completion_row_activated_cb (GtkTreeView *treeview, GtkTreePath *path,
-			     GtkTreeViewColumn *column, QueryEditor *editor)
+completion_row_activated_cb (G_GNUC_UNUSED GtkTreeView *treeview, GtkTreePath *path,
+			     G_GNUC_UNUSED GtkTreeViewColumn *column, QueryEditor *editor)
 {
 	GtkTreeModel *model;
 	GtkTreeIter iter;
@@ -670,7 +670,7 @@ text_view_expose_event (GtkTextView *tv, GdkEventExpose *event, QueryEditor *edi
 }
 
 static void
-query_editor_init (QueryEditor *editor, QueryEditorClass *klass)
+query_editor_init (QueryEditor *editor, G_GNUC_UNUSED QueryEditorClass *klass)
 {
 	int tab = 8;
 	gboolean highlight = TRUE;
diff --git a/tools/browser/query-exec/query-exec-perspective.c b/tools/browser/query-exec/query-exec-perspective.c
index 6cbc1a2..3bf6fb0 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -223,8 +223,9 @@ query_exec_perspective_new (BrowserWindow *bwin)
 }
 
 static void
-fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
-			  const gchar *selection, QueryExecPerspective *perspective)
+fav_selection_changed_cb (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED gint fav_id,
+			  G_GNUC_UNUSED BrowserFavoritesType fav_type, const gchar *selection,
+			  QueryExecPerspective *perspective)
 {
 	GtkNotebook *nb;
 	GtkWidget *page;
@@ -243,7 +244,7 @@ fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType f
 }
 
 static void
-nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
+nb_switch_page_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, gint page_num,
 		   QueryExecPerspective *perspective)
 {
 	GtkWidget *page_contents;
@@ -263,7 +264,7 @@ nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
 }
 
 static void
-nb_page_removed_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
+nb_page_removed_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, G_GNUC_UNUSED gint page_num,
 		    QueryExecPerspective *perspective)
 {
 	if (gtk_notebook_get_n_pages (nb) == 0) {
@@ -275,14 +276,14 @@ nb_page_removed_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
 }
 
 static void
-nb_page_added_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
-		  QueryExecPerspective *perspective)
+nb_page_added_cb (G_GNUC_UNUSED GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page,
+		  G_GNUC_UNUSED gint page_num, QueryExecPerspective *perspective)
 {
 	adapt_notebook_for_fullscreen (perspective);
 }
 
 static void
-close_button_clicked_cb (GtkWidget *wid, GtkWidget *page_widget)
+close_button_clicked_cb (G_GNUC_UNUSED GtkWidget *wid, GtkWidget *page_widget)
 {
 	gtk_widget_destroy (page_widget);
 }
@@ -299,7 +300,7 @@ adapt_notebook_for_fullscreen (QueryExecPerspective *perspective)
 }
 
 static void
-fullscreen_changed_cb (BrowserWindow *bwin, gboolean fullscreen, QueryExecPerspective *perspective)
+fullscreen_changed_cb (G_GNUC_UNUSED BrowserWindow *bwin, gboolean fullscreen, QueryExecPerspective *perspective)
 {
 	perspective->priv->fullscreen = fullscreen;
 	adapt_notebook_for_fullscreen (perspective);
@@ -336,7 +337,7 @@ query_exec_perspective_dispose (GObject *object)
 }
 
 static void
-query_exec_add_cb (GtkAction *action, BrowserPerspective *bpers)
+query_exec_add_cb (G_GNUC_UNUSED GtkAction *action, BrowserPerspective *bpers)
 {
 	GtkWidget *page, *tlabel, *button;
 	QueryExecPerspective *perspective;
@@ -433,7 +434,7 @@ query_exec_perspective_get_actions_group (BrowserPerspective *perspective)
 }
 
 static const gchar *
-query_exec_perspective_get_actions_ui (BrowserPerspective *perspective)
+query_exec_perspective_get_actions_ui (G_GNUC_UNUSED BrowserPerspective *perspective)
 {
 	return ui_actions_info;
 }
diff --git a/tools/browser/query-exec/query-favorite-selector.c b/tools/browser/query-exec/query-favorite-selector.c
index f43b71c..47977e9 100644
--- a/tools/browser/query-exec/query-favorite-selector.c
+++ b/tools/browser/query-exec/query-favorite-selector.c
@@ -105,7 +105,7 @@ query_favorite_selector_class_init (QueryFavoriteSelectorClass *klass)
 
 
 static void
-query_favorite_selector_init (QueryFavoriteSelector *tsel,	QueryFavoriteSelectorClass *klass)
+query_favorite_selector_init (QueryFavoriteSelector *tsel, G_GNUC_UNUSED QueryFavoriteSelectorClass *klass)
 {
 	tsel->priv = g_new0 (QueryFavoriteSelectorPrivate, 1);
 	tsel->priv->idle_update_favorites = 0;
@@ -201,8 +201,8 @@ key_press_event_cb (GtkTreeView *treeview, GdkEventKey *event, QueryFavoriteSele
 
 
 static void
-selection_changed_cb (GtkTreeView *treeview, GtkTreePath *path,
-		      GtkTreeViewColumn *column, QueryFavoriteSelector *tsel)
+selection_changed_cb (GtkTreeView *treeview, G_GNUC_UNUSED GtkTreePath *path,
+		      G_GNUC_UNUSED GtkTreeViewColumn *column, QueryFavoriteSelector *tsel)
 {
 	GtkTreeModel *model;
 	GtkTreeSelection *select;
@@ -251,7 +251,7 @@ prop_save_timeout (QueryFavoriteSelector *tsel)
 }
 
 static void
-property_changed_cb (GtkWidget *multiple, QueryFavoriteSelector *tsel)
+property_changed_cb (G_GNUC_UNUSED GtkWidget *multiple, QueryFavoriteSelector *tsel)
 {
 	if (tsel->priv->prop_save_timeout)
 		g_source_remove (tsel->priv->prop_save_timeout);
@@ -349,7 +349,7 @@ properties_activated_cb (GtkMenuItem *mitem, QueryFavoriteSelector *tsel)
 }
 
 static void
-do_popup_menu (GtkWidget *widget, GdkEventButton *event, QueryFavoriteSelector *tsel)
+do_popup_menu (G_GNUC_UNUSED GtkWidget *widget, GdkEventButton *event, QueryFavoriteSelector *tsel)
 {
 	int button, event_time;
 
@@ -523,8 +523,8 @@ query_favorite_selector_new (BrowserConnection *bcnc)
 }
 
 static void
-cell_data_func (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
-		GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
+cell_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
+		GtkTreeModel *tree_model, GtkTreeIter *iter, G_GNUC_UNUSED gpointer data)
 {
 	gchar *name, *summary;
 	gchar *markup, *tmp1, *tmp2;
@@ -559,8 +559,8 @@ idle_update_favorites (QueryFavoriteSelector *tsel)
 }
 
 static gboolean
-tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
-			 QueryFavoriteSelector *tsel)
+tree_store_drag_drop_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			 GtkSelectionData *selection_data, QueryFavoriteSelector *tsel)
 {
 	BrowserFavorites *bfav;
 	BrowserFavoritesAttributes fav;
@@ -608,7 +608,8 @@ tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionD
 }
 
 static gboolean
-tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, QueryFavoriteSelector *tsel)
+tree_store_drag_can_drag_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			     QueryFavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
 	node = gda_tree_get_node (tsel->priv->tree, path, FALSE);
@@ -622,7 +623,8 @@ tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, QueryFavo
 }
 
 static gboolean
-tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
+tree_store_drag_get_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			GtkSelectionData *selection_data,
 			QueryFavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
@@ -647,7 +649,7 @@ tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionDa
 }
 
 static void
-favorites_changed_cb (BrowserFavorites *bfav, QueryFavoriteSelector *tsel)
+favorites_changed_cb (G_GNUC_UNUSED BrowserFavorites *bfav, QueryFavoriteSelector *tsel)
 {
 	if (! gda_tree_update_all (tsel->priv->tree, NULL)) {
 		if (tsel->priv->idle_update_favorites == 0)
diff --git a/tools/browser/query-exec/query-result.c b/tools/browser/query-exec/query-result.c
index 8f241e2..307fa29 100644
--- a/tools/browser/query-exec/query-result.c
+++ b/tools/browser/query-exec/query-result.c
@@ -63,7 +63,7 @@ query_result_class_init (QueryResultClass *klass)
 }
 
 static void
-query_result_init (QueryResult *result, QueryResultClass *klass)
+query_result_init (QueryResult *result, G_GNUC_UNUSED QueryResultClass *klass)
 {
 	GtkWidget *wid;
 
@@ -81,13 +81,14 @@ query_result_init (QueryResult *result, QueryResultClass *klass)
 }
 
 static void
-history_item_removed_cb (QueryEditor *history, QueryEditorHistoryItem *item, QueryResult *result)
+history_item_removed_cb (G_GNUC_UNUSED QueryEditor *history, QueryEditorHistoryItem *item,
+			 QueryResult *result)
 {
 	g_hash_table_remove (result->priv->hash, item);
 }
 
 static void
-history_cleared_cb (QueryEditor *history, QueryResult *result)
+history_cleared_cb (G_GNUC_UNUSED QueryEditor *history, QueryResult *result)
 {
 	g_hash_table_remove_all (result->priv->hash);
 }
diff --git a/tools/browser/schema-browser/favorite-selector.c b/tools/browser/schema-browser/favorite-selector.c
index ce3816d..780fc11 100644
--- a/tools/browser/schema-browser/favorite-selector.c
+++ b/tools/browser/schema-browser/favorite-selector.c
@@ -92,7 +92,7 @@ favorite_selector_class_init (FavoriteSelectorClass *klass)
 
 
 static void
-favorite_selector_init (FavoriteSelector *tsel,	FavoriteSelectorClass *klass)
+favorite_selector_init (FavoriteSelector *tsel,	G_GNUC_UNUSED FavoriteSelectorClass *klass)
 {
 	tsel->priv = g_new0 (FavoriteSelectorPrivate, 1);
 	tsel->priv->idle_update_favorites = 0;
@@ -180,8 +180,8 @@ key_press_event_cb (GtkTreeView *treeview, GdkEventKey *event, FavoriteSelector
 
 
 static void
-selection_changed_cb (GtkTreeView *treeview, GtkTreePath *path,
-		      GtkTreeViewColumn *column, FavoriteSelector *tsel)
+selection_changed_cb (GtkTreeView *treeview, G_GNUC_UNUSED GtkTreePath *path,
+		      G_GNUC_UNUSED GtkTreeViewColumn *column, FavoriteSelector *tsel)
 {
 	GtkTreeModel *model;
 	GtkTreeSelection *select;
@@ -328,8 +328,8 @@ idle_update_favorites (FavoriteSelector *tsel)
 }
 
 static gboolean
-tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
-			 FavoriteSelector *tsel)
+tree_store_drag_drop_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			 GtkSelectionData *selection_data, FavoriteSelector *tsel)
 {
 	BrowserFavorites *bfav;
 	BrowserFavoritesAttributes fav;
@@ -364,7 +364,7 @@ tree_store_drag_drop_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionD
 }
 
 static gboolean
-tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, FavoriteSelector *tsel)
+tree_store_drag_can_drag_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path, FavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
 	node = gda_tree_get_node (tsel->priv->tree, path, FALSE);
@@ -378,8 +378,8 @@ tree_store_drag_can_drag_cb (GdauiTreeStore *store, const gchar *path, FavoriteS
 }
 
 static gboolean
-tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionData *selection_data,
-			FavoriteSelector *tsel)
+tree_store_drag_get_cb (G_GNUC_UNUSED GdauiTreeStore *store, const gchar *path,
+			GtkSelectionData *selection_data, FavoriteSelector *tsel)
 {
 	GdaTreeNode *node;
 	node = gda_tree_get_node (tsel->priv->tree, path, FALSE);
@@ -404,7 +404,7 @@ tree_store_drag_get_cb (GdauiTreeStore *store, const gchar *path, GtkSelectionDa
 }
 
 static void
-favorites_changed_cb (BrowserFavorites *bfav, FavoriteSelector *tsel)
+favorites_changed_cb (G_GNUC_UNUSED BrowserFavorites *bfav, FavoriteSelector *tsel)
 {
 	if (! gda_tree_update_all (tsel->priv->tree, NULL)) {
 		if (tsel->priv->idle_update_favorites == 0)
diff --git a/tools/browser/schema-browser/mgr-columns.c b/tools/browser/schema-browser/mgr-columns.c
index 3e8941e..433e062 100644
--- a/tools/browser/schema-browser/mgr-columns.c
+++ b/tools/browser/schema-browser/mgr-columns.c
@@ -82,7 +82,7 @@ mgr_columns_class_init (MgrColumnsClass *klass)
 }
 
 static void
-mgr_columns_init (MgrColumns *mgr, MgrColumnsClass *klass)
+mgr_columns_init (MgrColumns *mgr, G_GNUC_UNUSED MgrColumnsClass *klass)
 {
 	mgr->priv = g_new0 (MgrColumnsPriv, 1);
 }
@@ -151,7 +151,7 @@ static void
 mgr_columns_set_property (GObject *object,
 				   guint param_id,
 				   const GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         MgrColumns *mgr;
 
@@ -172,7 +172,7 @@ static void
 mgr_columns_get_property (GObject *object,
 				   guint param_id,
 				   GValue *value,
-				   GParamSpec *pspec)
+				   G_GNUC_UNUSED GParamSpec *pspec)
 {
         MgrColumns *mgr;
 
diff --git a/tools/browser/schema-browser/objects-index.c b/tools/browser/schema-browser/objects-index.c
index 553d72a..4e04163 100644
--- a/tools/browser/schema-browser/objects-index.c
+++ b/tools/browser/schema-browser/objects-index.c
@@ -83,7 +83,7 @@ objects_index_class_init (ObjectsIndexClass *klass)
 
 
 static void
-objects_index_init (ObjectsIndex *index, ObjectsIndexClass *klass)
+objects_index_init (ObjectsIndex *index, G_GNUC_UNUSED ObjectsIndexClass *klass)
 {
 	index->priv = g_new0 (ObjectsIndexPrivate, 1);
 }
@@ -132,7 +132,7 @@ objects_index_get_type (void)
 }
 
 static void
-cloud_object_selected_cb (ObjectsCloud *sel, ObjectsCloudObjType sel_type, 
+cloud_object_selected_cb (G_GNUC_UNUSED ObjectsCloud *sel, G_GNUC_UNUSED ObjectsCloudObjType sel_type,
 			  const gchar *sel_contents, ObjectsIndex *index)
 {
 	/* FIXME: adjust with sel->priv->type */
@@ -206,7 +206,7 @@ objects_index_new (BrowserConnection *bcnc)
 }
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, ObjectsIndex *index)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, ObjectsIndex *index)
 {
 	objects_cloud_set_meta_struct (index->priv->cloud, mstruct);
 }
diff --git a/tools/browser/schema-browser/relations-diagram.c b/tools/browser/schema-browser/relations-diagram.c
index f67520e..14cef2b 100644
--- a/tools/browser/schema-browser/relations-diagram.c
+++ b/tools/browser/schema-browser/relations-diagram.c
@@ -103,7 +103,7 @@ relations_diagram_page_init (BrowserPageIface *iface)
 }
 
 static void
-relations_diagram_init (RelationsDiagram *diagram, RelationsDiagramClass *klass)
+relations_diagram_init (RelationsDiagram *diagram, G_GNUC_UNUSED RelationsDiagramClass *klass)
 {
 	diagram->priv = g_new0 (RelationsDiagramPrivate, 1);
 	diagram->priv->fav_id = -1;
@@ -167,8 +167,8 @@ relations_diagram_get_type (void)
 static void
 relations_diagram_set_property (GObject *object,
 				guint param_id,
-				const GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED const GValue *value,
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
 	RelationsDiagram *diagram;
 	diagram = RELATIONS_DIAGRAM (object);
@@ -179,8 +179,8 @@ relations_diagram_set_property (GObject *object,
 static void
 relations_diagram_get_property (GObject *object,
 				guint param_id,
-				GValue *value,
-				GParamSpec *pspec)
+				G_GNUC_UNUSED GValue *value,
+				G_GNUC_UNUSED GParamSpec *pspec)
 {
 	RelationsDiagram *diagram;
 	diagram = RELATIONS_DIAGRAM (object);
@@ -189,13 +189,13 @@ relations_diagram_get_property (GObject *object,
 }
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, RelationsDiagram *diagram)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, RelationsDiagram *diagram)
 {
 	g_object_set (G_OBJECT (diagram->priv->canvas), "meta-struct", mstruct, NULL);
 }
 
 static void
-favorites_changed_cb (BrowserConnection *bcnc, RelationsDiagram *diagram)
+favorites_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, RelationsDiagram *diagram)
 {
 	if (diagram->priv->fav_id >= 0)
 		relations_diagram_set_fav_id (diagram, diagram->priv->fav_id, NULL);
@@ -491,7 +491,7 @@ relations_diagram_get_fav_id (RelationsDiagram *diagram)
 }
 
 static void
-action_view_contents_cb  (GtkAction *action, RelationsDiagram *diagram)
+action_view_contents_cb  (G_GNUC_UNUSED GtkAction *action, RelationsDiagram *diagram)
 {
 	gchar *str;
 	str = browser_canvas_db_relations_items_to_data_manager (BROWSER_CANVAS_DB_RELATIONS (diagram->priv->canvas));
@@ -534,7 +534,7 @@ relations_diagram_page_get_actions_group (BrowserPage *page)
 }
 
 static const gchar *
-relations_diagram_page_get_actions_ui (BrowserPage *page)
+relations_diagram_page_get_actions_ui (G_GNUC_UNUSED BrowserPage *page)
 {
 	return ui_actions_info;
 }
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c b/tools/browser/schema-browser/schema-browser-perspective.c
index 20d0929..aa9b1f4 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -181,7 +181,7 @@ schema_browser_perspective_new (BrowserWindow *bwin)
 }
 
 static void
-nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
+nb_switch_page_cb (GtkNotebook *nb, G_GNUC_UNUSED GtkNotebookPage *page, gint page_num,
 		   SchemaBrowserPerspective *perspective)
 {
 	GtkWidget *page_contents;
@@ -201,7 +201,7 @@ nb_switch_page_cb (GtkNotebook *nb, GtkNotebookPage *page, gint page_num,
 }
 
 static void
-close_button_clicked_cb (GtkWidget *wid, GtkWidget *page_widget)
+close_button_clicked_cb (G_GNUC_UNUSED GtkWidget *wid, GtkWidget *page_widget)
 {
 	gtk_widget_destroy (page_widget);
 }
@@ -215,7 +215,7 @@ objects_index_selection_changed_cb (GtkWidget *widget, BrowserFavoritesType fav_
 
 
 static void
-fav_selection_changed_cb (GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
+fav_selection_changed_cb (G_GNUC_UNUSED GtkWidget *widget, gint fav_id, BrowserFavoritesType fav_type,
 			  const gchar *selection, SchemaBrowserPerspective *bpers)
 {
 	if (fav_type == BROWSER_FAVORITES_TABLES) {
@@ -294,7 +294,7 @@ schema_browser_perspective_dispose (GObject *object)
 
 #ifdef HAVE_GOOCANVAS
 static void
-action_create_diagram_cb (GtkAction *action, SchemaBrowserPerspective *bpers)
+action_create_diagram_cb (G_GNUC_UNUSED GtkAction *action, SchemaBrowserPerspective *bpers)
 {
 	schema_browser_perspective_display_diagram (bpers, -1);
 }
@@ -356,7 +356,7 @@ schema_browser_perspective_get_actions_group (BrowserPerspective *bpers)
 }
 
 static const gchar *
-schema_browser_perspective_get_actions_ui (BrowserPerspective *bpers)
+schema_browser_perspective_get_actions_ui (G_GNUC_UNUSED BrowserPerspective *bpers)
 {
 	return ui_actions_info;
 }
@@ -454,7 +454,7 @@ void
 schema_browser_perspective_display_table_info (SchemaBrowserPerspective *bpers,
 					       const gchar *table_schema,
 					       const gchar *table_name,
-					       const gchar *table_short_name)
+					       G_GNUC_UNUSED const gchar *table_short_name)
 {
 	g_return_if_fail (IS_SCHEMA_BROWSER_PERSPECTIVE (bpers));
 
diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c
index c2f435d..586dcca 100644
--- a/tools/browser/schema-browser/table-columns.c
+++ b/tools/browser/schema-browser/table-columns.c
@@ -68,7 +68,7 @@ table_columns_class_init (TableColumnsClass *klass)
 
 
 static void
-table_columns_init (TableColumns *tcolumns, TableColumnsClass *klass)
+table_columns_init (TableColumns *tcolumns, G_GNUC_UNUSED TableColumnsClass *klass)
 {
 	tcolumns->priv = g_new0 (TableColumnsPrivate, 1);
 	tcolumns->priv->idle_update_columns = 0;
@@ -147,7 +147,7 @@ static gboolean motion_notify_event (GtkWidget *text_view, GdkEventMotion *event
 static gboolean visibility_notify_event (GtkWidget *text_view, GdkEventVisibility *event, TableColumns *tcolumns);
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableColumns *tcolumns)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableColumns *tcolumns)
 {
 	GtkTextBuffer *tbuffer;
 	GtkTextIter start, end;
@@ -606,7 +606,8 @@ set_cursor_if_appropriate (GtkTextView *text_view, gint x, gint y, TableColumns
  * (e.g. when a window covering it got iconified).
  */
 static gboolean
-visibility_notify_event (GtkWidget *text_view, GdkEventVisibility *event, TableColumns *tcolumns)
+visibility_notify_event (GtkWidget *text_view, G_GNUC_UNUSED GdkEventVisibility *event,
+			 TableColumns *tcolumns)
 {
 	gint wx, wy, bx, by;
 	
@@ -653,7 +654,7 @@ motion_notify_event (GtkWidget *text_view, GdkEventMotion *event, TableColumns *
  * by the data attached to it.
  */
 static void
-follow_if_link (GtkWidget *text_view, GtkTextIter *iter, TableColumns *tcolumns)
+follow_if_link (G_GNUC_UNUSED GtkWidget *text_view, GtkTextIter *iter, TableColumns *tcolumns)
 {
 	GSList *tags = NULL, *tagp = NULL;
 	
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index 3668c91..38e1ae2 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -112,7 +112,7 @@ table_info_page_init (BrowserPageIface *iface)
 }
 
 static void
-table_info_init (TableInfo *tinfo, TableInfoClass *klass)
+table_info_init (TableInfo *tinfo, G_GNUC_UNUSED TableInfoClass *klass)
 {
 	tinfo->priv = g_new0 (TableInfoPrivate, 1);
 }
@@ -177,8 +177,8 @@ table_info_get_type (void)
 static void
 table_info_set_property (GObject *object,
 			 guint param_id,
-			 const GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED const GValue *value,
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	TableInfo *tinfo;
 	tinfo = TABLE_INFO (object);
@@ -189,8 +189,8 @@ table_info_set_property (GObject *object,
 static void
 table_info_get_property (GObject *object,
 			 guint param_id,
-			 GValue *value,
-			 GParamSpec *pspec)
+			 G_GNUC_UNUSED GValue *value,
+			 G_GNUC_UNUSED GParamSpec *pspec)
 {
 	TableInfo *tinfo;
 	tinfo = TABLE_INFO (object);
@@ -226,9 +226,9 @@ table_info_to_selection (TableInfo *tinfo)
 }
 
 static void
-source_drag_data_get_cb (GtkWidget *widget, GdkDragContext *context,
+source_drag_data_get_cb (G_GNUC_UNUSED GtkWidget *widget, G_GNUC_UNUSED GdkDragContext *context,
 			 GtkSelectionData *selection_data,
-			 guint info, guint time, TableInfo *tinfo)
+			 guint info, G_GNUC_UNUSED guint time, TableInfo *tinfo)
 {
 	switch (info) {
 	case TARGET_KEY_VALUE: {
@@ -260,7 +260,7 @@ source_drag_data_get_cb (GtkWidget *widget, GdkDragContext *context,
 }
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableInfo *tinfo)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableInfo *tinfo)
 {
 	GdaMetaDbObject *dbo;
 	GValue *schema_v = NULL, *name_v;
@@ -449,7 +449,7 @@ table_info_get_connection (TableInfo *tinfo)
  * UI actions
  */
 static void
-action_add_to_fav_cb (GtkAction *action, TableInfo *tinfo)
+action_add_to_fav_cb (G_GNUC_UNUSED GtkAction *action, TableInfo *tinfo)
 {
 	BrowserFavorites *bfav;
         BrowserFavoritesAttributes fav;
@@ -474,7 +474,7 @@ action_add_to_fav_cb (GtkAction *action, TableInfo *tinfo)
 }
 
 static void
-action_view_contents_cb (GtkAction *action, TableInfo *tinfo)
+action_view_contents_cb (G_GNUC_UNUSED GtkAction *action, TableInfo *tinfo)
 {
 	if (! tinfo->priv->table_short_name)
 		return;
@@ -501,18 +501,18 @@ action_view_contents_cb (GtkAction *action, TableInfo *tinfo)
 }
 
 static void
-insert_form_params_changed_cb (GdauiBasicForm *form, GdaHolder *param,
-			       gboolean is_user_modif, GtkWidget *popup)
+insert_form_params_changed_cb (GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param,
+			       G_GNUC_UNUSED gboolean is_user_modif, GtkWidget *popup)
 {
 	/* if all params are valid => authorize the execute button */
 	gtk_dialog_set_response_sensitive (GTK_DIALOG (popup), GTK_RESPONSE_ACCEPT,
 					   gdaui_basic_form_is_valid (form));
 }
 
-static void statement_executed_cb (BrowserConnection *bcnc,
-				   guint exec_id,
-				   GObject *out_result,
-				   GdaSet *out_last_inserted_row, GError *error,
+static void statement_executed_cb (G_GNUC_UNUSED BrowserConnection *bcnc,
+				   G_GNUC_UNUSED guint exec_id,
+				   G_GNUC_UNUSED GObject *out_result,
+				   G_GNUC_UNUSED GdaSet *out_last_inserted_row, GError *error,
 				   TableInfo *tinfo)
 {
 	if (error)
@@ -572,10 +572,10 @@ typedef struct {
 } FKBindData;
 
 static void
-fk_bind_select_executed_cb (BrowserConnection *bcnc,
-			    guint exec_id,
+fk_bind_select_executed_cb (G_GNUC_UNUSED BrowserConnection *bcnc,
+			    G_GNUC_UNUSED guint exec_id,
 			    GObject *out_result,
-			    GdaSet *out_last_inserted_row, GError *error,
+			    G_GNUC_UNUSED GdaSet *out_last_inserted_row, G_GNUC_UNUSED GError *error,
 			    FKBindData *fkdata)
 {
 	gint i;
@@ -632,7 +632,7 @@ fkdata_list_free (GSList *fkdata_list)
 }
 
 static void
-action_insert_cb (GtkAction *action, TableInfo *tinfo)
+action_insert_cb (G_GNUC_UNUSED GtkAction *action, TableInfo *tinfo)
 {
 	/* init */
 	if (! tinfo->priv->table_short_name)
@@ -978,7 +978,7 @@ table_info_page_get_actions_group (BrowserPage *page)
 }
 
 static const gchar *
-table_info_page_get_actions_ui (BrowserPage *page)
+table_info_page_get_actions_ui (G_GNUC_UNUSED BrowserPage *page)
 {
 	return ui_actions_info;
 }
diff --git a/tools/browser/schema-browser/table-preferences.c b/tools/browser/schema-browser/table-preferences.c
index 6dcdca5..a651400 100644
--- a/tools/browser/schema-browser/table-preferences.c
+++ b/tools/browser/schema-browser/table-preferences.c
@@ -92,7 +92,7 @@ table_preferences_class_init (TablePreferencesClass *klass)
 
 
 static void
-table_preferences_init (TablePreferences *tpreferences, TablePreferencesClass *klass)
+table_preferences_init (TablePreferences *tpreferences, G_GNUC_UNUSED TablePreferencesClass *klass)
 {
 	tpreferences->priv = g_new0 (TablePreferencesPrivate, 1);
 }
@@ -154,7 +154,7 @@ enum
 };
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, TablePreferences *tpref)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, TablePreferences *tpref)
 {
 	gtk_list_store_clear (tpref->priv->columns_store);
 
@@ -211,7 +211,7 @@ meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, TablePreferenc
 }
 
 static void
-table_column_pref_changed_cb (BrowserConnection *bcnc, GdaMetaTable *table,
+table_column_pref_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, G_GNUC_UNUSED GdaMetaTable *table,
 			      GdaMetaTableColumn *column,
 			      const gchar *attr_name, const gchar *value, TablePreferences *tpref)
 {
@@ -237,11 +237,11 @@ table_column_pref_changed_cb (BrowserConnection *bcnc, GdaMetaTable *table,
 }
 
 static void
-cell_name_data_func (GtkTreeViewColumn *tree_column,
+cell_name_data_func (G_GNUC_UNUSED GtkTreeViewColumn *tree_column,
 		     GtkCellRenderer *cell,
 		     GtkTreeModel *tree_model,
 		     GtkTreeIter *iter,
-		     gpointer data)
+		     G_GNUC_UNUSED gpointer data)
 {
 	gchar *plugin;
 	GdaMetaTableColumn *column;
@@ -288,8 +288,8 @@ selection_changed_cb (GtkTreeSelection *select, TablePreferences *tpref)
 }
 
 static void
-columns_model_row_changed_cb (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter,
-			      TablePreferences *tpref)
+columns_model_row_changed_cb (G_GNUC_UNUSED GtkTreeModel *tree_model, G_GNUC_UNUSED GtkTreePath *path,
+			      G_GNUC_UNUSED GtkTreeIter *iter, TablePreferences *tpref)
 {
 	tpref->priv->save_plugin_changes = FALSE;
 	plugins_combo_changed_cb (GTK_COMBO_BOX (tpref->priv->plugins_combo), tpref);
@@ -493,7 +493,7 @@ create_column_properties (TablePreferences *tpref)
 }
 
 static void
-plugin_hash_foreach_func (const gchar *plugin_name, GdauiPlugin *plugin, ForeachData *fdata)
+plugin_hash_foreach_func (G_GNUC_UNUSED const gchar *plugin_name, GdauiPlugin *plugin, ForeachData *fdata)
 {
 	gboolean add_it = FALSE;
 	if ((plugin->nb_g_types == 0) || (!plugin->plugin_file && !plugin->options_xml_spec))
@@ -711,8 +711,8 @@ plugins_combo_changed_cb (GtkComboBox *combo, TablePreferences *tpref)
 }
 
 static void
-options_form_param_changed_cb (GdauiBasicForm *form, GdaHolder *param, gboolean is_user_modif,
-			       TablePreferences *tpref)
+options_form_param_changed_cb (G_GNUC_UNUSED GdauiBasicForm *form, G_GNUC_UNUSED GdaHolder *param,
+			       G_GNUC_UNUSED gboolean is_user_modif, TablePreferences *tpref)
 {
 	GtkTreeIter iter;
 
diff --git a/tools/browser/schema-browser/table-relations.c b/tools/browser/schema-browser/table-relations.c
index 0a148ff..1b0cdff 100644
--- a/tools/browser/schema-browser/table-relations.c
+++ b/tools/browser/schema-browser/table-relations.c
@@ -65,7 +65,7 @@ table_relations_class_init (TableRelationsClass *klass)
 
 
 static void
-table_relations_init (TableRelations *trels, TableRelationsClass *klass)
+table_relations_init (TableRelations *trels, G_GNUC_UNUSED TableRelationsClass *klass)
 {
 	trels->priv = g_new0 (TableRelationsPrivate, 1);
 	trels->priv->all_schemas = FALSE;
@@ -113,7 +113,7 @@ table_relations_get_type (void)
 }
 
 static void
-meta_changed_cb (BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableRelations *trels)
+meta_changed_cb (G_GNUC_UNUSED BrowserConnection *bcnc, GdaMetaStruct *mstruct, TableRelations *trels)
 {
 	GdaMetaDbObject *dbo;
 	GValue *tname, *tschema;
diff --git a/tools/browser/support.c b/tools/browser/support.c
index 743b15a..b0d3b32 100644
--- a/tools/browser/support.c
+++ b/tools/browser/support.c
@@ -426,7 +426,7 @@ browser_get_connections_list (void)
 }
 
 static void
-connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, GdaDataModel *model)
+connection_added_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, GdaDataModel *model)
 {
 	GList *values;
 	GValue *value;
@@ -443,7 +443,7 @@ connection_added_cb (BrowserCore *bcore, BrowserConnection *bcnc, GdaDataModel *
 }
 
 static void
-connection_removed_cb (BrowserCore *bcore, BrowserConnection *bcnc, GdaDataModel *model)
+connection_removed_cb (G_GNUC_UNUSED BrowserCore *bcore, BrowserConnection *bcnc, GdaDataModel *model)
 {
 	gint i, nrows;
 	nrows = gda_data_model_get_n_rows (model);
diff --git a/tools/command-exec.c b/tools/command-exec.c
index ee9ee46..018bf39 100644
--- a/tools/command-exec.c
+++ b/tools/command-exec.c
@@ -251,8 +251,8 @@ default_gda_internal_commandargs_func (const gchar *string)
 }
 
 GdaInternalCommandResult *
-gda_internal_command_help (SqlConsole *console, GdaConnection *cnc, const gchar **args, 
-			   GError **error,
+gda_internal_command_help (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED const gchar **args, G_GNUC_UNUSED GError **error,
 			   GdaInternalCommandsList *clist)
 {
 	GdaInternalCommandResult *res;
@@ -296,7 +296,8 @@ gda_internal_command_help (SqlConsole *console, GdaConnection *cnc, const gchar
 }
 
 GdaInternalCommandResult *
-gda_internal_command_history (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+gda_internal_command_history (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			      GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 
@@ -341,7 +342,8 @@ gda_internal_command_history (SqlConsole *console, GdaConnection *cnc, const gch
 }
 
 GdaInternalCommandResult *
-gda_internal_command_dict_sync (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+gda_internal_command_dict_sync (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+				GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 
@@ -376,7 +378,8 @@ gda_internal_command_dict_sync (SqlConsole *console, GdaConnection *cnc, const g
 }
 
 GdaInternalCommandResult *
-gda_internal_command_list_tables (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+gda_internal_command_list_tables (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+				  GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *model;
@@ -419,7 +422,8 @@ gda_internal_command_list_tables (SqlConsole *console, GdaConnection *cnc, const
 }
 
 GdaInternalCommandResult *
-gda_internal_command_list_views (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+gda_internal_command_list_views (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+				 GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *model;
@@ -461,7 +465,8 @@ gda_internal_command_list_views (SqlConsole *console, GdaConnection *cnc, const
 }
 
 GdaInternalCommandResult *
-gda_internal_command_list_schemas (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+gda_internal_command_list_schemas (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+				   GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *model;
@@ -593,8 +598,8 @@ meta_table_column_foreach_attribute_func (const gchar *att_name, const GValue *v
 }
 
 GdaInternalCommandResult *
-gda_internal_command_detail (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			     GError **error, gpointer data)
+gda_internal_command_detail (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+			     GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *model;
diff --git a/tools/dict-file-name.c b/tools/dict-file-name.c
index 2364555..1bb968c 100644
--- a/tools/dict-file-name.c
+++ b/tools/dict-file-name.c
@@ -22,7 +22,7 @@
 /* must be included AS-IS in .c file */
 
 static void
-compute_dict_file_name_foreach_cb (const gchar *key, const gchar *value, GSList **list)
+compute_dict_file_name_foreach_cb (const gchar *key, G_GNUC_UNUSED const gchar *value, GSList **list)
 {
 	if (!*list) 
 		*list = g_slist_prepend (NULL, (gpointer) key);
diff --git a/tools/gda-list-config.c b/tools/gda-list-config.c
index aeeff42..183bb63 100644
--- a/tools/gda-list-config.c
+++ b/tools/gda-list-config.c
@@ -4,7 +4,7 @@
 #include <glib/gi18n-lib.h>
 
 gint
-main (int argc, char **argv) {
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) {
 	GdaDataModel *model;
 
 	gda_init ();
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index 0817ab0..338f67d 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -1602,7 +1602,7 @@ thread_start_update_meta_store (MetaUpdateData *data)
 }
 
 static void
-thread_ok_cb_update_meta_store (GdaThreader *threader, guint job, MetaUpdateData *data)
+thread_ok_cb_update_meta_store (G_GNUC_UNUSED GdaThreader *threader, G_GNUC_UNUSED guint job, MetaUpdateData *data)
 {
 	data->cs->meta_job_id = 0;
 	if (data->cannot_lock) {
@@ -1631,7 +1631,8 @@ thread_ok_cb_update_meta_store (GdaThreader *threader, guint job, MetaUpdateData
 }
 
 static void
-thread_cancelled_cb_update_meta_store (GdaThreader *threader, guint job, MetaUpdateData *data)
+thread_cancelled_cb_update_meta_store (G_GNUC_UNUSED GdaThreader *threader, G_GNUC_UNUSED guint job,
+				       MetaUpdateData *data)
 {
 	data->cs->meta_job_id = 0;
 	if (data->error)
@@ -2458,8 +2459,8 @@ build_internal_commands_list (void)
 }
 
 static GdaInternalCommandResult *
-extra_command_set_output (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			  GError **error, gpointer data)
+extra_command_set_output (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			  GError **error, G_GNUC_UNUSED gpointer data)
 {
 	if (console) {
 		GdaInternalCommandResult *res;
@@ -2481,8 +2482,8 @@ extra_command_set_output (SqlConsole *console, GdaConnection *cnc, const gchar *
 }
 
 static GdaInternalCommandResult *
-extra_command_set_output_format (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-				 GError **error, gpointer data)
+extra_command_set_output_format (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+				 GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	const gchar *format = NULL;
@@ -2545,7 +2546,7 @@ extra_command_set_output_format (SqlConsole *console, GdaConnection *cnc, const
 }
 
 static gboolean
-idle_read_input_stream (gpointer data)
+idle_read_input_stream (G_GNUC_UNUSED gpointer data)
 {
 	if (main_data->input_stream) {
 		gchar *cmde;
@@ -2572,8 +2573,8 @@ idle_read_input_stream (gpointer data)
 }
 
 static GdaInternalCommandResult *
-extra_command_set_input (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			 GError **error, gpointer data)
+extra_command_set_input (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			 GError **error, G_GNUC_UNUSED gpointer data)
 {
 	if (console) {
 		GdaInternalCommandResult *res;
@@ -2598,8 +2599,8 @@ extra_command_set_input (SqlConsole *console, GdaConnection *cnc, const gchar **
 }
 
 static GdaInternalCommandResult *
-extra_command_echo (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		    GError **error, gpointer data)
+extra_command_echo (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+		    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	
@@ -2612,8 +2613,8 @@ extra_command_echo (SqlConsole *console, GdaConnection *cnc, const gchar **args,
 }
 
 static GdaInternalCommandResult *
-extra_command_qecho (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		     GError **error, gpointer data)
+extra_command_qecho (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+		     G_GNUC_UNUSED GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 
@@ -2633,7 +2634,8 @@ extra_command_qecho (SqlConsole *console, GdaConnection *cnc, const gchar **args
 }
 
 static GdaInternalCommandResult *
-extra_command_list_dsn (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_list_dsn (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *dsn_list, *model = NULL;
@@ -2742,7 +2744,8 @@ extra_command_list_dsn (SqlConsole *console, GdaConnection *cnc, const gchar **a
 }
 
 static GdaInternalCommandResult *
-extra_command_create_dsn (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_create_dsn (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			  const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 	GdaDsnInfo newdsn;
@@ -2787,7 +2790,8 @@ extra_command_create_dsn (SqlConsole *console, GdaConnection *cnc, const gchar *
 }
 
 static GdaInternalCommandResult *
-extra_command_remove_dsn (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_remove_dsn (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			  const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	gint i;
@@ -2808,7 +2812,8 @@ extra_command_remove_dsn (SqlConsole *console, GdaConnection *cnc, const gchar *
 }
 
 static GdaInternalCommandResult *
-extra_command_list_providers (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_list_providers (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			      const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	GdaDataModel *prov_list, *model = NULL;
@@ -2911,7 +2916,7 @@ extra_command_list_providers (SqlConsole *console, GdaConnection *cnc, const gch
 }
 
 static void
-vconnection_hub_foreach_cb (GdaConnection *cnc, const gchar *ns, GString *string)
+vconnection_hub_foreach_cb (G_GNUC_UNUSED GdaConnection *cnc, const gchar *ns, GString *string)
 {
 	if (string->len > 0)
 		g_string_append_c (string, '\n');
@@ -2920,7 +2925,8 @@ vconnection_hub_foreach_cb (GdaConnection *cnc, const gchar *ns, GString *string
 
 static 
 GdaInternalCommandResult *
-extra_command_manage_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_manage_cnc (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			  GError **error, G_GNUC_UNUSED gpointer data)
 {
 	/* arguments:
 	 * 0 = connection name
@@ -3148,14 +3154,15 @@ extra_command_manage_cnc (SqlConsole *console, GdaConnection *cnc, const gchar *
 }
 
 static void
-conn_closed_cb (GdaConnection *cnc, ConnectionSetting *cs)
+conn_closed_cb (GdaConnection *cnc, G_GNUC_UNUSED ConnectionSetting *cs)
 {
 	extra_command_close_cnc (NULL, cnc, NULL, NULL, NULL);
 }
 
 static 
 GdaInternalCommandResult *
-extra_command_close_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_close_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error,
+			 G_GNUC_UNUSED gpointer data)
 {
 	ConnectionSetting *cs = NULL;
 	if (args && args[0] && *args[0]) {
@@ -3208,7 +3215,8 @@ extra_command_close_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **
 }
 
 static GdaInternalCommandResult *
-extra_command_bind_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **args, GError **error, gpointer data)
+extra_command_bind_cnc (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			GError **error, G_GNUC_UNUSED gpointer data)
 {
 	ConnectionSetting *cs = NULL;
 	gint i, nargs = g_strv_length ((gchar **) args);
@@ -3289,8 +3297,9 @@ extra_command_bind_cnc (SqlConsole *console, GdaConnection *cnc, const gchar **a
 }
 
 static GdaInternalCommandResult *
-extra_command_copyright (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			 GError **error, gpointer data)
+extra_command_copyright (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			 G_GNUC_UNUSED const gchar **args, G_GNUC_UNUSED GError **error,
+			 G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 	
@@ -3308,8 +3317,8 @@ extra_command_copyright (SqlConsole *console, GdaConnection *cnc, const gchar **
 }
 
 static GdaInternalCommandResult *
-extra_command_quit (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		    GError **error, gpointer data)
+extra_command_quit (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, G_GNUC_UNUSED const gchar **args,
+		    G_GNUC_UNUSED GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res;
 
@@ -3328,8 +3337,8 @@ extra_command_quit (SqlConsole *console, GdaConnection *cnc, const gchar **args,
 }
 
 static GdaInternalCommandResult *
-extra_command_cd (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		  GError **error, gpointer data)
+extra_command_cd (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+		  GError **error, G_GNUC_UNUSED gpointer data)
 {
 	const gchar *dir = NULL;
 #define DIR_LENGTH 256
@@ -3396,8 +3405,8 @@ extra_command_cd (SqlConsole *console, GdaConnection *cnc, const gchar **args,
 }
 
 static GdaInternalCommandResult *
-extra_command_edit_buffer (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			   GError **error, gpointer data)
+extra_command_edit_buffer (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			   GError **error, G_GNUC_UNUSED gpointer data)
 {
 	gchar *filename = NULL;
 	static gchar *editor_name = NULL;
@@ -3503,8 +3512,8 @@ extra_command_edit_buffer (SqlConsole *console, GdaConnection *cnc, const gchar
 }
 
 static GdaInternalCommandResult *
-extra_command_reset_buffer (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			    GError **error, gpointer data)
+extra_command_reset_buffer (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			    GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3546,8 +3555,8 @@ extra_command_reset_buffer (SqlConsole *console, GdaConnection *cnc, const gchar
 }
 
 static GdaInternalCommandResult *
-extra_command_show_buffer (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			   GError **error, gpointer data)
+extra_command_show_buffer (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+			   G_GNUC_UNUSED const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3616,8 +3625,8 @@ extra_command_exec_buffer (SqlConsole *console, GdaConnection *cnc, const gchar
 }
 
 static GdaInternalCommandResult *
-extra_command_write_buffer (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-			    GError **error, gpointer data)
+extra_command_write_buffer (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+			    GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3667,8 +3676,8 @@ extra_command_write_buffer (SqlConsole *console, GdaConnection *cnc, const gchar
 	"DELETE FROM " QUERY_BUFFERS_TABLE_NAME " WHERE name = ##name::string"
 
 static GdaInternalCommandResult *
-extra_command_query_buffer_list_dict (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-				      GError **error, gpointer data)
+extra_command_query_buffer_list_dict (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, G_GNUC_UNUSED const gchar **args,
+				      GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3720,8 +3729,8 @@ extra_command_query_buffer_list_dict (SqlConsole *console, GdaConnection *cnc, c
 }
 
 static GdaInternalCommandResult *
-extra_command_query_buffer_to_dict (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-				    GError **error, gpointer data)
+extra_command_query_buffer_to_dict (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+				    GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3811,8 +3820,8 @@ extra_command_query_buffer_to_dict (SqlConsole *console, GdaConnection *cnc, con
 }
 
 static GdaInternalCommandResult *
-extra_command_query_buffer_from_dict (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-				      GError **error, gpointer data)
+extra_command_query_buffer_from_dict (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+				      const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3883,8 +3892,8 @@ extra_command_query_buffer_from_dict (SqlConsole *console, GdaConnection *cnc, c
 }
 
 static GdaInternalCommandResult *
-extra_command_query_buffer_delete_dict (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-					GError **error, gpointer data)
+extra_command_query_buffer_delete_dict (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc,
+					const gchar **args, GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -3945,8 +3954,8 @@ extra_command_query_buffer_delete_dict (SqlConsole *console, GdaConnection *cnc,
 
 static void foreach_param_set (const gchar *pname, GdaHolder *param, GdaDataModel *model);
 static GdaInternalCommandResult *
-extra_command_set (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		   GError **error, gpointer data)
+extra_command_set (G_GNUC_UNUSED SqlConsole *console, GdaConnection *cnc, const gchar **args,
+		   GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 	const gchar *pname = NULL;
@@ -4042,7 +4051,7 @@ foreach_param_set (const gchar *pname, GdaHolder *param, GdaDataModel *model)
 }
 
 static const GValue *
-get_table_value_at_cell (GdaConnection *cnc, GError **error, MainData *data,
+get_table_value_at_cell (GdaConnection *cnc, GError **error, G_GNUC_UNUSED MainData *data,
 			 const gchar *table, const gchar *column, const gchar *row_cond,
 			 GdaDataModel **out_model_of_value)
 {
@@ -4312,8 +4321,8 @@ extra_command_export (SqlConsole *console, GdaConnection *cnc, const gchar **arg
 
 
 static GdaInternalCommandResult *
-extra_command_unset (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		     GError **error, gpointer data)
+extra_command_unset (G_GNUC_UNUSED SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+		     GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 	const gchar *pname = NULL;
@@ -4344,7 +4353,7 @@ extra_command_unset (SqlConsole *console, GdaConnection *cnc, const gchar **args
 
 #define DO_UNLINK(x) g_unlink(x)
 static void
-graph_func_child_died_cb (GPid pid, gint status, gchar *fname)
+graph_func_child_died_cb (GPid pid, G_GNUC_UNUSED gint status, gchar *fname)
 {
 	DO_UNLINK (fname);
 	g_free (fname);
@@ -4352,7 +4361,7 @@ graph_func_child_died_cb (GPid pid, gint status, gchar *fname)
 }
 
 static gchar *
-create_graph_from_meta_struct (GdaConnection *cnc, GdaMetaStruct *mstruct, GError **error)
+create_graph_from_meta_struct (G_GNUC_UNUSED GdaConnection *cnc, GdaMetaStruct *mstruct, GError **error)
 {
 #define FNAME "graph.dot"
 	gchar *graph;
@@ -4424,7 +4433,7 @@ create_graph_from_meta_struct (GdaConnection *cnc, GdaMetaStruct *mstruct, GErro
 
 static GdaInternalCommandResult *
 extra_command_graph (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		     GError **error, gpointer data)
+		     GError **error, G_GNUC_UNUSED gpointer data)
 {
 	gchar *result;
 	GdaMetaStruct *mstruct;
@@ -4463,8 +4472,8 @@ extra_command_graph (SqlConsole *console, GdaConnection *cnc, const gchar **args
 
 #ifdef HAVE_LIBSOUP
 static GdaInternalCommandResult *
-extra_command_httpd (SqlConsole *console, GdaConnection *cnc, const gchar **args,
-		     GError **error, gpointer data)
+extra_command_httpd (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, const gchar **args,
+		     GError **error, G_GNUC_UNUSED gpointer data)
 {
 	GdaInternalCommandResult *res = NULL;
 
@@ -4643,7 +4652,7 @@ args_as_string_set (const gchar *str)
 }
 
 static char **
-completion_func (const char *text, int start, int end)
+completion_func (G_GNUC_UNUSED const char *text, int start, int end)
 {
 #ifdef HAVE_READLINE
 	ConnectionSetting *cs = main_data->current;
diff --git a/tools/information-schema-doc.c b/tools/information-schema-doc.c
index 292fbc1..87cb67d 100644
--- a/tools/information-schema-doc.c
+++ b/tools/information-schema-doc.c
@@ -29,7 +29,7 @@
 #define OUT_FILE "i_s_doc.xml"
 
 int
-main (int argc, char** argv)
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char** argv)
 {
         xmlDocPtr doc;
         xmlNodePtr node;
diff --git a/tools/information-schema-types.c b/tools/information-schema-types.c
index bc3539e..d6f7f90 100644
--- a/tools/information-schema-types.c
+++ b/tools/information-schema-types.c
@@ -30,7 +30,7 @@
 #define OUT_FILE "gda-meta-column-types.h"
 
 int
-main (int argc, char** argv)
+main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char** argv)
 {
         xmlDocPtr doc;
         xmlNodePtr node;
diff --git a/tools/tools-input.c b/tools/tools-input.c
index c656132..83d29e1 100644
--- a/tools/tools-input.c
+++ b/tools/tools-input.c
@@ -105,7 +105,8 @@ static ComputePromptFunc line_prompt_func = NULL;
 static GIOChannel *ioc = NULL;
 
 static gboolean
-chars_for_readline_cb (GIOChannel *ioc, GIOCondition condition, gpointer data)
+chars_for_readline_cb (G_GNUC_UNUSED GIOChannel *ioc, G_GNUC_UNUSED GIOCondition condition,
+		       G_GNUC_UNUSED gpointer data)
 {
 #ifdef HAVE_READLINE
         rl_callback_read_char ();
diff --git a/tools/web-server.c b/tools/web-server.c
index 38d8d05..efb5985 100644
--- a/tools/web-server.c
+++ b/tools/web-server.c
@@ -193,9 +193,9 @@ debug_display_query (gchar *key, gchar *value, gpointer data)
 #endif
 
 static void
-server_callback (SoupServer *server, SoupMessage *msg,
+server_callback (G_GNUC_UNUSED SoupServer *server, SoupMessage *msg,
                  const char *path, GHashTable *query,
-                 SoupClientContext *context, WebServer *webserver)
+                 G_GNUC_UNUSED SoupClientContext *context, WebServer *webserver)
 {
 #ifdef DEBUG_SERVER
         printf ("%s %s HTTP/1.%d\n", msg->method, path, soup_message_get_http_version (msg));
@@ -438,7 +438,7 @@ static void get_variables (SoupMessage *msg, GHashTable *query, ...);
  * GET for a file
  */
 static gboolean
-get_file (WebServer *server, SoupMessage *msg, const char *path, GError **error)
+get_file (G_GNUC_UNUSED WebServer *server, SoupMessage *msg, const char *path, GError **error)
 {
 	GMappedFile *mfile;
 	gchar *real_path;
@@ -732,7 +732,7 @@ cnc_ul (gboolean is_authenticated)
 }
 
 static void
-get_for_cnclist (WebServer *webserver, SoupMessage *msg, gboolean is_authenticated)
+get_for_cnclist (G_GNUC_UNUSED WebServer *webserver, SoupMessage *msg, gboolean is_authenticated)
 {
 	xmlNodePtr ul;
 	SoupBuffer *buffer;
@@ -1118,7 +1118,7 @@ compute_table_details (const ConnectionSetting *cs, HtmlDoc *hdoc, WebServer *we
  */
 static gchar *
 meta_struct_dump_as_graph (const ConnectionSetting *cs, GdaMetaStruct *mstruct, GdaMetaDbObject *central_dbo, 
-			   GError **error)
+			   G_GNUC_UNUSED GError **error)
 {
 	GString *string;
 	gchar *result;
@@ -1262,8 +1262,9 @@ meta_struct_dump_as_graph (const ConnectionSetting *cs, GdaMetaStruct *mstruct,
 }
 
 static gboolean
-compute_view_details (const ConnectionSetting *cs, HtmlDoc *hdoc, GdaMetaStruct *mstruct,
-		      GdaMetaDbObject *dbo, GError **error)
+compute_view_details (G_GNUC_UNUSED const ConnectionSetting *cs, HtmlDoc *hdoc,
+		      G_GNUC_UNUSED GdaMetaStruct *mstruct, GdaMetaDbObject *dbo,
+		      G_GNUC_UNUSED GError **error)
 {
 	GdaMetaView *view = GDA_META_VIEW (dbo);
 	if (view->view_def) {
@@ -1282,7 +1283,7 @@ compute_view_details (const ConnectionSetting *cs, HtmlDoc *hdoc, GdaMetaStruct
  * Returns: TRUE if the object was really a trigger
  */
 static gboolean
-compute_trigger_content (HtmlDoc *hdoc, WebServer *webserver, const ConnectionSetting *cs,
+compute_trigger_content (HtmlDoc *hdoc, G_GNUC_UNUSED WebServer *webserver, const ConnectionSetting *cs,
 			 const gchar *schema, const gchar *name, GError **error)
 {
 	GdaMetaStore *store;
@@ -1843,7 +1844,7 @@ get_cookies (SoupMessage *msg, ...)
 }
 
 static HtmlDoc*
-create_new_htmldoc (WebServer *webserver, const ConnectionSetting *cs)
+create_new_htmldoc (G_GNUC_UNUSED WebServer *webserver, const ConnectionSetting *cs)
 {
 	HtmlDoc *hdoc;
 	gchar *str;
@@ -1926,8 +1927,8 @@ delete_consoles (WebServer *server)
  * GET/POST  method for IRB
  */
 static gboolean
-get_post_for_irb (WebServer *webserver, SoupMessage *msg, const ConnectionSetting *cs,
-		  GHashTable *query, GError **error)
+get_post_for_irb (WebServer *webserver, SoupMessage *msg, G_GNUC_UNUSED const ConnectionSetting *cs,
+		  GHashTable *query, G_GNUC_UNUSED GError **error)
 {
 	gboolean retval = FALSE;
 	SoupBuffer *buffer;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]