From ae460ed1c2512875032a641dbe157b7a7144c09b Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Granjoux?= Date: Sat, 3 Jun 2017 13:43:48 +0200 Subject: [PATCH] Avoid errors with recent version of gcc --- plugins/build-basic-autotools/Makefile.am | 3 +++ plugins/cvs-plugin/Makefile.am | 3 +++ plugins/debug-manager/Makefile.am | 3 +++ plugins/file-manager/Makefile.am | 3 +++ plugins/git/Makefile.am | 3 +++ 5 files changed, 15 insertions(+) diff --git a/plugins/build-basic-autotools/Makefile.am b/plugins/build-basic-autotools/Makefile.am index b91dda2c6..085830367 100644 --- a/plugins/build-basic-autotools/Makefile.am +++ b/plugins/build-basic-autotools/Makefile.am @@ -32,6 +32,9 @@ AM_CPPFLAGS = \ $(DEPRECATED_FLAGS) \ $(LIBANJUTA_CFLAGS) +AM_CFLAGS += \ + -Wno-error=format-nonliteral + # Where to install the plugin plugindir = $(anjuta_plugin_dir) diff --git a/plugins/cvs-plugin/Makefile.am b/plugins/cvs-plugin/Makefile.am index b6d4f0e6b..dd83f4e57 100644 --- a/plugins/cvs-plugin/Makefile.am +++ b/plugins/cvs-plugin/Makefile.am @@ -2,6 +2,9 @@ cvs_plugin_gladedir = $(anjuta_glade_dir) dist_cvs_plugin_glade_DATA = anjuta-cvs-plugin.ui +AM_CFLAGS += \ + -Wno-error=format-nonliteral + cvs_plugin_pixmapsdir = $(anjuta_image_dir) dist_cvs_plugin_pixmaps_DATA = \ anjuta-cvs-plugin.svg \ diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am index 751d63a72..abe048fea 100644 --- a/plugins/debug-manager/Makefile.am +++ b/plugins/debug-manager/Makefile.am @@ -21,6 +21,9 @@ AM_CPPFLAGS= \ $(GIO_CFLAGS) \ $(LIBANJUTA_CFLAGS) +AM_CFLAGS += \ + -Wno-error=format-nonliteral + plugindir = $(anjuta_plugin_dir) plugin_LTLIBRARIES = libanjuta-debug-manager.la diff --git a/plugins/file-manager/Makefile.am b/plugins/file-manager/Makefile.am index 1d86aeb42..eecb6f527 100644 --- a/plugins/file-manager/Makefile.am +++ b/plugins/file-manager/Makefile.am @@ -33,6 +33,9 @@ AM_CPPFLAGS = \ $(GDL_CFLAGS) \ $(GIO_CFLAGS) +AM_CFLAGS += \ + -Wno-error=format-y2k + # Where to install the plugin plugindir = $(anjuta_plugin_dir) diff --git a/plugins/git/Makefile.am b/plugins/git/Makefile.am index 21889d0c3..45ab84c54 100644 --- a/plugins/git/Makefile.am +++ b/plugins/git/Makefile.am @@ -29,6 +29,9 @@ AM_CPPFLAGS = \ $(DEPRECATED_FLAGS) \ $(LIBANJUTA_CFLAGS) +AM_CFLAGS += \ + -Wno-error=format-nonliteral + # Where to install the plugin plugindir = $(anjuta_plugin_dir) -- 2.11.4.GIT