On Sun 13 Jan 2013 18:51, Noah Lavine <[email protected]> writes:

> I just tried to build g-wrap with the latest development guile, and got
> a build error. It seems that scm_sym2var and scm_module_lookup_closure
> (used on line 346 of guile-runtime.c in g-wrap 1.9.14) will be gone in
> guile 2.2.

It should be a warning.  Are tarballs being released with -Werror?  That
would be a bug.

Anyway it is fixed in git:

commit 9a7e60dcc511a8f34aa4cf0f98a04886b28acc43
Author: Andy Wingo <[email protected]>
Date:   Wed Jul 11 13:31:08 2012 +0200

    use scm_module_variable instead of the deprecated scm_sym2var
    
    * guile/g-wrap/guile-compatibility.h:
    * guile/g-wrap/guile-compatibility.c (scm_module_variable): New stub for
      Guile < 2.0.
    
    * guile/g-wrap/guile-runtime.c (allocate_generic_variable): Use
      scm_module_variable, and update the comments.
    
    Thanks to Dale Smith for the report and patch.

Cheers,

Andy
-- 
http://wingolog.org/

_______________________________________________
g-wrap-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/g-wrap-dev

Reply via email to