guile-devel
[Top][All Lists]
Advanced

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

Re: Porting GNU Projects - Guile


From: Neil Jerram
Subject: Re: Porting GNU Projects - Guile
Date: Thu, 30 Jul 2009 20:54:09 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

bornlibra23 <address@hidden> writes:

> Thanks Mike for the heads up but the problem I think is with the source code
> itself. I get the same error on linux though it doesnt die there. I
> preprocessed the code & changed the line like so :
>>From (((((ch) == ' ' | (ch) == '\t') to (((((ch) == ' ' || (ch) == '\t')
> (note the or operator) & the problem went away but then I had the mentioned
> problem. I will build it again & get back to you. My build log seems to be
> dated.

FWIW this is fixed in Guile's master branch:

#ifdef HAVE_ISBLANK
# define CSET_BLANK_PRED(c)  (isblank (c))
#else
# define CSET_BLANK_PRED(c)                     \
   (((c) == ' ') || ((c) == '\t'))
#endif

I guess it was missed for a long time because it is rare to have an OS
that doesn't provide isblank().

Regards,
        Neil




reply via email to

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