problems with gw__scm_extras

Neil Williams linux at codehelp.co.uk
Fri Nov 4 14:45:57 EST 2005


On Friday 04 November 2005 7:21 pm, Andrew Sackville-West wrote:
> gw-engine.c: In function 'gw__tmp426_xaccQueryAddDateMatch_wrapper':
>  > gw-engine.c:16686: warning: 'gw__scm_extras[0]' is used uninitialized in
>  > this function
>
> how hard is it to fix this thing?

?? I don't get this when I build the svn gnucash trunk (nor the cashutil 
branch) on Debian unstable. 

> I know the workaround CFLAGS="-Wno-unitialized", but always forget the
> sucker. is it as simple as
> define gw__scm_extras
> somehwere?

I've never needed CFLAGS="-Wno-unitialized" - my only references to 
'gw__scm_extras' are much earlier in gw-engine.c:
gw-engine.c:14668:  SCM gw__scm_extras[1];
My wrapper is defined in:
14653:gw__tmp689_xaccQueryAddDateMatch_wrapper (SCM gw__scm_arg0, SCM 
gw__scm_arg1,

I don't pretend to understand this kind of guile / scheme mismatch but it does 
not appear to be a general problem with Debian. Are you sure you've cleared 
out the old versions of guile? (use the purge option not just remove).

Could you send me the output from these commands off-list?

$ dpkg -l guile*
$ dpkg -l libgwrap*
$ dpkg -l g-wrap

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051104/2c3bd0f6/attachment.bin


More information about the gnucash-devel mailing list