[frogs] Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044) |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: ian@xxxxxxxxxxxx, carl.d.sorensen@xxxxxxxxx, hanwenn@xxxxxxxxx, n.puttock@xxxxxxxxx
- Subject: [frogs] Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044)
- From: Patrick McCarty <pnorcks@xxxxxxxxx>
- Date: Sun, 1 Aug 2010 13:49:20 -0700
- Cc: frogs@xxxxxxxxxxx, lilypond-devel@xxxxxxx, reply@xxxxxxxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=I7BokXLEs0njR24H0MV6ioPqKm9v+XG/R2v5l5PQAPo=; b=yHiph+KgAvy9aj58Kt6dX8vfyCxZWKAZ7AlA7zFcYdtcN+maLBqbjhi5FOykv84T72 gZiWwCpnRg7pvLVG6IkvJE1XHDnwdTIlWztnhIlzEXkKgUMcsCv4XPUwYSKLRBtOn8GO /SmKCOXZkZghSvi/KnAZxhm71pA7eGDzIE718=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BYAp+Vv8b8xkf2vGCtasU3gXXmBeSU70bSc2evXX32bwlKu0jFJEFOq8cLEMjDYCfm emfgESSLeWDgmfiva9WasRlnCqSvZzpsIdiD8JDQwvhTAV+3s96imkZceSEy0ku+vaQR NJmGpnRhDAsQt44rDtaM0UBlnew2VerOXGKNE=
On Sun, Aug 1, 2010 at 1:03 PM, <pnorcks@xxxxxxxxx> 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
---
----
Join the Frogs!