r18384 - gnucash/trunk - Fix 598491: Remove use of guile's deprecated GH interface
Phil Longstaff
plongstaff at rogers.com
Sun Oct 18 19:50:29 EDT 2009
On October 18, 2009 05:31:28 pm J. Alex Aycinena wrote:
> Phil,
>
> > ---------- Forwarded message ----------
> > From: Phil Longstaff <plongstaff at rogers.com>
> > To: gnucash-devel at gnucash.org
> > Date: Sat, 17 Oct 2009 20:48:18 -0400
> > Subject: Re: r18384 - gnucash/trunk - Fix 598491: Remove use of guile's
> > deprecated GH interface
> >
> > On October 17, 2009 08:17:20 pm J. Alex Aycinena wrote:
> >> Phil,
> >>
> >> This patch makes my build of trunk fail with the following message:
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>: In function ‘func_op’:
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>:347: error: ‘scm_catch_body_t’ undeclared (first use in this function)
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>:347: error: (Each undeclared identifier is reported only once
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>:347: error: for each function it appears in.)
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>:347: error: expected ‘)’ before ‘scm_c_eval_string’
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/app-utils/gnc-exp-parse
> >>r.c
> >>
> >>:348: error: too few arguments to function ‘scm_internal_catch’
> >>
> >> make[4]: *** [gnc-exp-parser.lo] Error 1
> >>
> >> Regards,
> >>
> >> Alex
> >
> > What distro? What version of guile? For me (ubuntu 9.04, guile 1.6.8,
>
> Fedora 11, and guile-1.8.6-3.fc11.x86_64.rpm,
> guile-devel-1.8.6-3.fc11.x86_64.rpm, guile-lib-0.1.6-2.fc11.noarch.rpm
>
> > scm_catch_body_t is in /usr/include/libguile/throw.h).
>
> In my /usr/include/libguile/throw.h there's no "scm_catch_body_t" but
> there is a "scm_t_catch_body".
OK. Fix checked in. I haven't looked too closely, but "scm_catch_body_t"
doesn't cause a problem during my build. "scm_t_catch_body" doesn't cause a
problem. "scm_tt_catch_body" does, so the compiler is catching some things,
but not others. Weird.
Phil
More information about the gnucash-devel
mailing list