Status: Started
Owner: [email protected]
Labels: Type-Enhancement

New issue 2758 by [email protected]: ly_module_lookup caused deprecation warnings when LilyPond running with Guile V2.06
http://code.google.com/p/lilypond/issues/detail?id=2758

The current definition of ly_module_lookup in module-scheme.cc uses two functions, scm_sym2var and scm_module_lookup_closure, which issue deprecation warnings in Guile V2.06. A call to the new Guile API function, scm_module_variable, provides the functionality for both deprecated routines, but has not been back-ported to Guile V1.8.

This patch adds a conditionally-compiled shim function definition for scm_module_variable when running with a Guile version < V2.0, and has ly_module_lookup call scm_module_variable.




Reply via email to