[Vortex] Gentoo ebuilds and minor enhancement

milton.yates at loule.info milton.yates at loule.info
Mon Apr 2 15:50:14 CEST 2007


Hi,

I've updated the Gentoo ebuilds on sourceforge to match the latest versions (libaxl 0.4.2, libvortex 1.0.2). Sorry for the delay.

About these versions, I've noticed these warnings while compiling some code with -Wall:

/usr/include/axl/axl_log.h:55:5: warning: "SHOW_DEBUG_LOG" is not defined
/usr/include/axl/axl_log.h:58:6: warning: "AXL_OS_WIN32" is not defined
/usr/include/vortex/vortex.h:162:6: warning: "AXL_OS_WIN32" is not defined

After a quick look at the headers, the patch would be:

----------8<----------8<----------8<----------8<----------8<----------
diff -ru ./axl_log.h /usr/include/axl/axl_log.h
--- ./axl_log.h 2007-02-06 13:26:03.000000000 +0100
+++ /usr/include/axl/axl_log.h  2007-04-02 15:44:54.000000000 +0200
@@ -52,10 +52,10 @@
 bool     axl_log_color_is_enabled ();
 
 
-#if SHOW_DEBUG_LOG
+#ifdef SHOW_DEBUG_LOG
 # define __axl_log axl_log
 #else
-# if AXL_OS_WIN32 && ! defined (__GNUC__)
+# if defined(AXL_OS_WIN32) && ! defined (__GNUC__)
 #   define __axl_log axl_log 
 # else
 #   define __axl_log(domain, level, message, ...) /* nothing */
diff -ru ./vortex.h /usr/include/vortex/vortex.h
--- ./vortex.h  2007-02-08 17:34:35.000000000 +0100
+++ /usr/include/vortex/vortex.h        2007-04-02 15:45:23.000000000 +0200
@@ -159,7 +159,7 @@
 #ifdef ENABLE_VORTEX_LOG
 # define vortex_log  g_log
 #else
-# if AXL_OS_WIN32 && ! defined (__GNUC__)
+# if defined(AXL_OS_WIN32) && ! defined (__GNUC__)
 #   define vortex_log g_log
 # else
 #   define vortex_log(domain, level, message, ...) /* nothing */
----------8<----------8<----------8<----------8<----------8<----------

Bye,

Milton.



More information about the Vortex mailing list