[Top][All Lists]

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

Re: Errors in libguile 1.8.8 while compiling gnucash on Windows

From: Noah Lavine
Subject: Re: Errors in libguile 1.8.8 while compiling gnucash on Windows
Date: Sun, 7 Jul 2013 08:31:56 -0400


I think This list is the right place to send patch files. I don't know if people will look at them too closely, though, because that's an old version of Guile. Can Gnucash use Guile 2?


On Sat, Jul 6, 2013 at 9:33 PM, Randy Galbraith <address@hidden> wrote:
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;


reply via email to

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