|
From: | lilypond |
Subject: | [Lilypond-auto] Issue 2758 in lilypond: ly_module_lookup caused deprecation warnings when LilyPond running with Guile V2.06 |
Date: | Sun, 19 Aug 2012 21:23:14 +0000 |
Status: Started Owner: address@hidden Labels: Type-EnhancementNew issue 2758 by address@hidden: ly_module_lookup caused deprecation warnings when LilyPond running with Guile V2.06
http://code.google.com/p/lilypond/issues/detail?id=2758The 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.
[Prev in Thread] | Current Thread | [Next in Thread] |