guile-devel
[Top][All Lists]
Advanced

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

Re: Build failures - compiling TeXmacs under guile 2.0.5


From: Ludovic Courtès
Subject: Re: Build failures - compiling TeXmacs under guile 2.0.5
Date: Tue, 29 May 2012 00:29:04 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

Hi,

Jan Synacek <address@hidden> skribis:

> It's a macro:
>
> #define scm_scm2str gh_scm2newstr
>
> I added additional
>
> #define gh_scm2newstr(a, b) scm_str2string((a))

This one is incorrect.  You’d want ‘scm_to_locale_string’ instead, which
takes an ‘SCM’ and returns a ‘char *’ (which the caller has the
responsibility to free eventually.)

Can you try and report back?

Thanks,
Ludo’.



reply via email to

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