discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1c029b8fd96599bbb14965fa436efa265da5dd96

commit 1c029b8fd96599bbb14965fa436efa265da5dd96
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Aug 14 17:26:08 2018 -0400

    tests/eina: suppress deprecated api warnings for eina abi test
    
    Reviewers: devilhorns, ManMower
    
    Reviewed By: ManMower
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl_build
    
    Differential Revision: https://phab.enlightenment.org/D6810
---
 src/tests/eina/eina_test_abi.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/tests/eina/eina_test_abi.c b/src/tests/eina/eina_test_abi.c
index 67435ecb60..6c49544fdd 100644
--- a/src/tests/eina/eina_test_abi.c
+++ b/src/tests/eina/eina_test_abi.c
@@ -20,6 +20,13 @@
 # include "config.h"
 #endif
 
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
+
 #include "eina_suite.h"
 
 #if EINA_SIZEOF_WCHAR_T >= 4

-- 


Reply via email to