[gnome-commander/gcmd-1-10] Ignore deprecated-declarations error at compilation



commit 87b5322fa0706f541b759d37f2d9a2355d095f7b
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sat May 16 23:21:14 2020 +0200

    Ignore deprecated-declarations error at compilation

 libgcmd/Makefile.am            | 2 +-
 plugins/fileroller/Makefile.am | 2 +-
 plugins/test/Makefile.am       | 2 +-
 src/Makefile.am                | 2 +-
 src/dialogs/Makefile.am        | 2 +-
 src/intviewer/Makefile.am      | 2 +-
 src/tags/Makefile.am           | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libgcmd/Makefile.am b/libgcmd/Makefile.am
index bd403c8b..5ad173cd 100644
--- a/libgcmd/Makefile.am
+++ b/libgcmd/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type -Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/plugins/fileroller/Makefile.am b/plugins/fileroller/Makefile.am
index 4352d530..7716efad 100644
--- a/plugins/fileroller/Makefile.am
+++ b/plugins/fileroller/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type -Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/plugins/test/Makefile.am b/plugins/test/Makefile.am
index fe2ec54a..dd44798f 100644
--- a/plugins/test/Makefile.am
+++ b/plugins/test/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type 
-Wno-cast-function-type -Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/src/Makefile.am b/src/Makefile.am
index a8798ef0..5216c4a7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = dialogs tags intviewer
 
 AM_CXXFLAGS = $(WARN_CXXFLAGS) -Wno-error=switch-default -Wno-switch-default \
                                -Werror=parentheses -Wno-parentheses \
-                               -Werror=cast-function-type -Wno-cast-function-type
+                               -Werror=cast-function-type -Wno-cast-function-type 
-Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am
index db632fcb..12406e7d 100644
--- a/src/dialogs/Makefile.am
+++ b/src/dialogs/Makefile.am
@@ -3,7 +3,7 @@
 noinst_LIBRARIES = libgcmd-dialogs.a
 
 AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
-                               -Werror=cast-function-type -Wno-cast-function-type
+                               -Werror=cast-function-type -Wno-cast-function-type 
-Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/src/intviewer/Makefile.am b/src/intviewer/Makefile.am
index 5135e8f8..ad54813f 100644
--- a/src/intviewer/Makefile.am
+++ b/src/intviewer/Makefile.am
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
-                               -Werror=cast-function-type -Wno-cast-function-type
+                               -Werror=cast-function-type -Wno-cast-function-type 
-Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \
diff --git a/src/tags/Makefile.am b/src/tags/Makefile.am
index c9e0da3c..637d6c62 100644
--- a/src/tags/Makefile.am
+++ b/src/tags/Makefile.am
@@ -3,7 +3,7 @@
 noinst_LIBRARIES = libgcmd-tags.a
 
 AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
-                               -Werror=cast-function-type -Wno-cast-function-type
+                               -Werror=cast-function-type -Wno-cast-function-type 
-Wno-deprecated-declarations
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \


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