guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors in libguile 1.8.8 while compiling gnucash on Windows


From: Randy Galbraith
Subject: Errors in libguile 1.8.8 while compiling gnucash on Windows
Date: Sat, 6 Jul 2013 18:33:39 -0700

Hi Guile developers,

I have been attempting to compile gnucash on Windows XP in the hopes of addressing one of the bugs.  One of the compile issues I hit was this:

srfi-4.c: In function 'uvec_to_list':

srfi-4.c:399:15: error: variable 'elts' set but not used [-Werror=unused-but-set-variable]

as I hit these errors, I corrected the source and created a patch file.  After creating 15 patch files the compile of libguile completed.  Please let me know if it would be helpful to forward these patch files and where I should.  Using srfi-4.c as example, here is the patch...

--- libguile/srfi-4.c    2010-12-13 10:25:01 -0700
+++ libguile/srfi-4-new.c    2013-06-30 21:58:03 -0700
@@ -396,10 +396,9 @@
   scm_t_array_handle handle;
   size_t len;
   ssize_t i, inc;
-  const void *elts;
   SCM res = SCM_EOL;
 
-  elts = uvec_elements (type, uvec, &handle, &len, &inc);
+  uvec_elements (type, uvec, &handle, &len, &inc);
   for (i = len*inc; i > 0;)
     {
       i -= inc;

Cheers,
-Randy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]