Re: Guile integration and UTF-8

[email protected] (Ludovic Courtès)
Newsgroups gmane.comp.gnu.make.devel
Message-ID <[email protected]>
Paul Smith <[email protected]> skribis:

> On Wed, 2013-09-25 at 18:26 +0200, Ludovic Courtès wrote:
>>   #ifdef HAVE_SCM_FROM_UTF8_STRING
>>     scm_eval_string (scm_from_utf8_string (argv[0]));
>>   #else /* Guile 1.8 */
>>     scm_c_eval_string (argv[0]);
>>   #endif
>
> Rather than adding a check to configure.ac, I just checked
> SCM_MAJOR_VERSION < 2 and if so didn't use scm_from_utf8_string().

Turns out ‘scm_from_utf8_string’ was added in 2.0.1 (missing in 2.0.0,
but 2.0.0 is 2.5 years old and not widespread).

Ludo’.

_______________________________________________
Make-alpha mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/make-alpha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.