jayji pushed a commit to branch master.

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

commit e249d792294f6b9c04a388ef1412d2ef43dbe9a8
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Fri Aug 12 12:51:59 2016 +0200

    eo: fix guard to avoid redefinition of Efl_Object
    
    Clang raised the warning:
       redefinition of typedef 'Efl_Object' is a
       C11 feature [-Wtypedef-redefinition]
    for every compiling unit including Eo.h, which
    caused a huge console pollution during compilation.
---
 src/lib/eo/Eo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 5821288..6183f04 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -120,7 +120,7 @@ typedef Eo Efl_Class;
 #define _EFL_CLASS_EO_CLASS_TYPE
 
 typedef Eo Efl_Object;
-#define _EFL_BASE_EO_CLASS_TYPE
+#define _EFL_OBJECT_EO_CLASS_TYPE
 
 #ifdef EFL_BETA_API_SUPPORT
 

-- 


Reply via email to