Re: Build failures - compiling TeXmacs under guile 2.0.5

2012-05-28 Thread Jan Synacek
On 05/25/12 at 05:51pm, Ludovic Courtès wrote: Hi! Jan Synacek jsyna...@redhat.com skribis: Guile/Glue/glue.cpp:233:31: error: cannot convert ‘SCM {aka scm_unused_struct*}’ to ‘const char*’ for argument ‘1’ to ‘scm_unused_struct* scm_str2string(const char*)’ [...]

Re: Build failures - compiling TeXmacs under guile 2.0.5

2012-05-28 Thread Thien-Thi Nguyen
() Jan Synacek jsyna...@redhat.com () Mon, 28 May 2012 09:02:13 +0200 Can you please suggest a way (if there is a generic one) to fix these kinds of old-new api problems? Guile-SDL, Guile-PG, Guile-GDBM, Guile-WWW and other packages available from http://www.gnuvola.org/software/ use

Re: Build failures - compiling TeXmacs under guile 2.0.5

2012-05-28 Thread Ludovic Courtès
Hi, Jan Synacek jsyna...@redhat.com 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