lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: T1055: Avoid using deprecated %module-public-interface in guile init


From: Patrick McCarty
Subject: Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044)
Date: Sun, 1 Aug 2010 13:49:20 -0700

On Sun, Aug 1, 2010 at 1:03 PM, <address@hidden> wrote:
> On 2010/07/29 19:24:46, Neil Puttock wrote:
>>
>> + = scm_list_3 (ly_symbol2scm ("module-use!"), mod, used);
>>
>> This effectively exports all bindings, so all local defines are
>> now exported.
>>
>> In the case of `profile-property-access.ly', the format call
>> ends up using `ergonomic-simple-format' from lily.scm.
>
> Thanks for this observation, Neil.
>
> The reason why I suggested this change is to prevent a compile failure
> with Guile 1.9.  The backtrace is below.  Perhaps there is a bug in the
> `module-public-interface' procedure?  Not really sure how to test if
> this is the case though...

I think I found the problem.

With Guile 1.9, `module-public-interface' doesn't return an interface
for `the-scm-module', which we rely on:

  scheme@(guile-user)> (module-public-interface the-scm-module)
  $1 = #f
  scheme@(guile-user)>

I'll report this upstream.

Thanks,
Patrick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]