Michael Jennings wrote:


As I do not have a P4 box or an x86_64 box, please test the latest CVS
stuff to make sure nothing was merged incorrectly.


Michael,

Just one small remaining problem on 86_64 with gcc4. libast/include/libast.h doesn't
deal correctly with a predefined STRICT_ISO_C99.   Patch attached.

John
Index: libast/include/libast.h
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/include/libast.h,v
retrieving revision 1.59
diff -u -r1.59 libast.h
--- libast/include/libast.h	7 Jun 2005 20:32:37 -0000	1.59
+++ libast/include/libast.h	15 Jun 2005 11:30:51 -0000
@@ -82,7 +82,9 @@
 
 #ifdef __GNUC__
 #  if __GNUC__ >= 4
-#    define STRICT_ISO_C99
+#    ifndef STRICT_ISO_C99
+#      define STRICT_ISO_C99
+#    endif
 #  endif
 #else
 #  define __attribute__(x)
@@ -286,7 +288,7 @@
  * @param a The first variable.
  * @param b The second variable.
  */
-#if STRICT_ISO_C99
+#ifdef STRICT_ISO_C99
 #  define BINSWAP(a, b)  SWAP(a, b)
 #else
 #  define BINSWAP(a, b)  (((long) (a)) ^= ((long) (b)) ^= ((long) (a)) ^= ((long) (b)))

Reply via email to