Deprecation question - is proposed code-change back-portable to V1.8.7?

2012-08-16 Thread Ian Hulin
Hi all, In working with Guile V2.0.6, compiling the following code gives deprecation errors for both scm_sym2var and scm_module_lookup_closure. >From looking at the docs following the recommendations in the deprecation messages, it looks like the offending line needs to change to return scm_modu

Re: Deprecation question - is proposed code-change back-portable to V1.8.7?

2012-08-16 Thread Ludovic Courtès
Hi, Ian Hulin skribis: > From looking at the docs following the recommendations in the > deprecation messages, it looks like the offending line needs to change to > return scm_module_variable ( module, sym); > > Does scm_module_variable internally do what scm_module_lookup_closure > did, Yes.

Re: Deprecation question - is proposed code-change back-portable to V1.8.7?

2012-08-16 Thread Ian Hulin
Hi Ludo, Many thanks for the quick response, Cheers, Ian On 16/08/12 14:51, Ludovic � wrote: > Hi, > > Ian Hulin skribis: > >> From looking at the docs following the recommendations in the >> deprecation messages, it looks like the offending line needs to >> change to return scm_module_vari