[Top][All Lists]

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

Re: [patch] guile 1.8.4 build problem on x86_64-sun-solaris2.10

From: Ludovic Courtès
Subject: Re: [patch] guile 1.8.4 build problem on x86_64-sun-solaris2.10
Date: Sat, 23 Feb 2008 11:37:04 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)


Tim Mooney <address@hidden> writes:

> /usr/include/complex.h on Solaris has these defines near the top:
> /*
>   * Compilation environments for Solaris must provide the _Imaginary
>   * datatype
>   * and the compiler intrinsics _Complex_I and _Imaginary_I
>   */
> #define _Complex_I  _Complex_I
> #define complex     _Complex
> #define _Imaginary_I    _Imaginary_I
> #define imaginary   _Imaginary
> #undef  I
> #define I       _Imaginary_I
> It looks like the "#define imaginary _Imaginary" is being triggered by
> this:
> SCM_DEFINE (scm_make_rectangular, "make-rectangular", 2, 0, 0,
>              (SCM real, SCM imaginary),

Thanks for finding it!  I just committed your patch, so it will be in 1.8.5.

> FAIL: time.test: strftime: C99 %z format: EST+5

Can you show the result of the following Scheme expressions in Guile:

  1. (strftime "%z" (gmtime 0))

  2. (begin
       (putenv "TZ=GMT+0")
       (let ((tm (localtime 86400)))
         (strftime "%z" tm)))

  3. (begin
       (putenv "TZ=EST+5")
       (let ((tm (localtime 86400)))
         (strftime "%z" tm)))

Thanks in advance,

reply via email to

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