Re: [E-devel] [PATCH 2/2] eina: fix compilation if safety checks are disabled

2010-10-01 Thread Lucas De Marchi
On Thu, Sep 30, 2010 at 2:47 PM, Marc Andre Tanner m...@brain-dump.org wrote:
 A few files include eina_safety_checks.h and then expect that
 eina_log.h is also dragged in, however this isn't the case if
 the safety checks were disabled at configure stage.

 Include eina_log.h explicitly to fix this.


Patch has been applied.

Thanks


Lucas De Marchi

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH 2/2] eina: fix compilation if safety checks are disabled

2010-09-30 Thread Marc Andre Tanner
A few files include eina_safety_checks.h and then expect that
eina_log.h is also dragged in, however this isn't the case if
the safety checks were disabled at configure stage.

Include eina_log.h explicitly to fix this.

Signed-off-by: Marc Andre Tanner m...@brain-dump.org
---
 src/lib/eina_array.c|1 +
 src/lib/eina_list.c |1 +
 src/lib/eina_matrixsparse.c |1 +
 src/lib/eina_rectangle.c|1 +
 src/lib/eina_share_common.c |1 +
 src/lib/eina_stringshare.c  |1 +
 6 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/lib/eina_array.c b/src/lib/eina_array.c
index 4ad8533..bd71fc9 100644
--- a/src/lib/eina_array.c
+++ b/src/lib/eina_array.c
@@ -118,6 +118,7 @@
 #include eina_config.h
 #include eina_private.h
 #include eina_error.h
+#include eina_log.h
 
 /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
 #include eina_safety_checks.h
diff --git a/src/lib/eina_list.c b/src/lib/eina_list.c
index a09b3cf..e301476 100644
--- a/src/lib/eina_list.c
+++ b/src/lib/eina_list.c
@@ -75,6 +75,7 @@
 #include eina_config.h
 #include eina_private.h
 #include eina_error.h
+#include eina_log.h
 #include eina_mempool.h
 
 /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
diff --git a/src/lib/eina_matrixsparse.c b/src/lib/eina_matrixsparse.c
index fc38159..e19f24a 100644
--- a/src/lib/eina_matrixsparse.c
+++ b/src/lib/eina_matrixsparse.c
@@ -40,6 +40,7 @@
 #include eina_config.h
 #include eina_private.h
 #include eina_error.h
+#include eina_log.h
 #include eina_magic.h
 #include eina_mempool.h
 
diff --git a/src/lib/eina_rectangle.c b/src/lib/eina_rectangle.c
index 9ef0451..237ca8b 100644
--- a/src/lib/eina_rectangle.c
+++ b/src/lib/eina_rectangle.c
@@ -34,6 +34,7 @@
 #include eina_mempool.h
 #include eina_list.h
 #include eina_trash.h
+#include eina_log.h
 
 /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
 #include eina_safety_checks.h
diff --git a/src/lib/eina_share_common.c b/src/lib/eina_share_common.c
index 0699871..2302843 100644
--- a/src/lib/eina_share_common.c
+++ b/src/lib/eina_share_common.c
@@ -76,6 +76,7 @@
 #include eina_hash.h
 #include eina_rbtree.h
 #include eina_error.h
+#include eina_log.h
 
 /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
 #include eina_safety_checks.h
diff --git a/src/lib/eina_stringshare.c b/src/lib/eina_stringshare.c
index 644915b..86b4617 100644
--- a/src/lib/eina_stringshare.c
+++ b/src/lib/eina_stringshare.c
@@ -69,6 +69,7 @@ void *alloca (size_t);
 #include eina_hash.h
 #include eina_rbtree.h
 #include eina_error.h
+#include eina_log.h
 #include eina_stringshare.h
 
 /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
-- 
1.6.5


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel