tags 474810 + patch
thanks

Hi,

this bug is fixed in a new upstream version 2.44.1 of clisp. I have
extracted a minimal fix for this build failure. It is attached to this
mail. I can confirm that clisp builds fine on i386 and amd64 and gcc-4.3
with this patch applied. Build logs at:

http://servercare.de/debian/logs/clisp_i386_2008-04-28-1209339333.log
http://servercare.de/debian/logs/clisp_amd64_2008-04-28-1209339906.log


Regards,
  Sebastian

--- clisp-2.44.orig/src/floatparam.c
+++ clisp-2.44/src/floatparam.c
@@ -29,7 +29,7 @@
 }
 
 #define check(type,typeprefix,typestr,equalfn,mainfn)  \
-static boolean equalfn (type* x, type* y);				\
+static boolean equalfn (volatile type* x, volatile type* y);		\
 static void mainfn (void)						\
 {									\
   int mant_bits;							\
@@ -109,7 +109,10 @@
   }									\
   printf("\n");								\
 }									\
-static boolean equalfn (type* x, type* y) { return *x == *y; }		\
+static boolean equalfn (volatile type* x, volatile type* y)		\
+{									\
+  return *x == *y;							\
+}									\
 
 check(float,"float","float",equal_float,main_float)
 check(double,"double","double",equal_double,main_double)

Reply via email to