[Top][All Lists]

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

Re: --without-threads compile broken

From: Ludovic Courtès
Subject: Re: --without-threads compile broken
Date: Sat, 30 Aug 2008 19:17:08 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Hi Julian,

"Julian Graham" <address@hidden> writes:

> Ah, yes -- I remember those from five years ago, the first time I
> tried to add thread cancellation support to Guile.  Find attached a
> patch that raises an error if `(srfi srfi-18)' is loaded when Guile
> has been built using --without-threads.

There seems to be something wrong with your path:

> diff --git a/srfi/srfi-18.scm b/srfi/srfi-18.scm
> index 6359cb2..0593f4e 100644
> --- a/srfi/srfi-18.scm
> +++ b/srfi/srfi-18.scm
> @@ -89,9 +89,6 @@
>           make-condition-variable
>           raise))
> -(if (not (provided? 'threads))
> -    (error "SRFI-18 requires Guile built with threads support"))
> -

It removes the `if' statement instead of adding it.

Furthermore, I think `srfi-18.test' needs to be modified so that, when
threads aren't available, it does not "(use-modules (srfi srfi-18))" so
that we don't get the error.

Can you fix that?

Thanks in advance!


reply via email to

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