[API-NEXT,v1,5/19] build: drop -Wno-deprecated-declaration

Message ID 1505156408-13887-6-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • Untitled series #3957
Related show

Commit Message

Github ODP bot Sept. 11, 2017, 6:59 p.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


We do not use deprecated attribute anymore, thus let's drop the
-Wno-deprecated-declaration flag from compiler options.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 173 (muvarov:api-next)
 ** https://github.com/Linaro/odp/pull/173
 ** Patch: https://github.com/Linaro/odp/pull/173.patch
 ** Base sha: 7fa8e2c97ed18f8dd6e95cbc78b7e668ccb98869
 ** Merge commit sha: 057be0905a62a157cc96a91743ea70e66e8554ca
 **/
 platform/Makefile.inc                       | 3 ---
 test/common_plat/validation/api/Makefile.am | 3 ---
 2 files changed, 6 deletions(-)

Patch

diff --git a/platform/Makefile.inc b/platform/Makefile.inc
index 738f0f9a..a88e8384 100644
--- a/platform/Makefile.inc
+++ b/platform/Makefile.inc
@@ -13,9 +13,6 @@  AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'
 AM_CFLAGS += "-DGIT_HASH=$(VERSION)"
 AM_CFLAGS += $(VISIBILITY_CFLAGS)
 
-#The implementation will need to retain the deprecated implementation
-AM_CFLAGS += -Wno-deprecated-declarations
-
 AM_CFLAGS += @PTHREAD_CFLAGS@
 
 odpapispecincludedir= $(includedir)/odp/api/spec
diff --git a/test/common_plat/validation/api/Makefile.am b/test/common_plat/validation/api/Makefile.am
index e2d30a67..601bae6d 100644
--- a/test/common_plat/validation/api/Makefile.am
+++ b/test/common_plat/validation/api/Makefile.am
@@ -23,6 +23,3 @@  ODP_MODULES = atomic \
 	      system
 
 SUBDIRS = $(ODP_MODULES)
-
-#The tests will need to retain the deprecated test implementation
-AM_CFLAGS += -Wno-deprecated-declarations