[anjuta] Avoid errors with recent version of gcc



commit ae460ed1c2512875032a641dbe157b7a7144c09b
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Jun 3 13:43:48 2017 +0200

    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(+), 0 deletions(-)
---
diff --git a/plugins/build-basic-autotools/Makefile.am b/plugins/build-basic-autotools/Makefile.am
index b91dda2..0858303 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 b6d4f0e..dd83f4e 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 751d63a..abe048f 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 1d86aeb..eecb6f5 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 21889d0..45ab84c 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)
 


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