[Top][All Lists]

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

[MIT-Scheme-devel] Re: Scheme and the floating-point environment on Mac

From: Will M Farr
Subject: [MIT-Scheme-devel] Re: Scheme and the floating-point environment on Mac OS X
Date: Tue, 14 Dec 2010 19:41:23 -0600


After checking around in the microcode directory, the problem seems to be that 
the preprocessor symbols HAVE_FENV_T and HAVE_FEXCEPT_T are not defined on Mac 
OS X, leading to the duplicate definitions of the types fenv_t and fexcept_t on 
lines 51 and 55 of floenv.c that the compiler complains about.  Based on the 
absence of HAVE_FENV_T and HAVE_FEXCEPT_T in microcode/config.h, I'm wondering 
if these *ever* get defined on any system.  Would it be safe to replace the 
#ifndef HAVE_FENV_T and #ifndef HAVE_FEXCEPT_T on lines 50 and 54 of floenv.c 
with #ifndef HAVE_FENV_H?


On Dec 14, 2010, at 7:27 PM, Taylor R Campbell wrote:

> As some of you may have noticed, my changes last month to implement
> operations on the floating-point environment broke Scheme on Mac OS X.
> I tested the changes on NetBSD and GNU/Linux (Fedora and Debian), but
> I no longer use Mac OS X; nor do I have any convenient access to any
> Mac OS X systems.  Anyone up for fixing this?  I'm happy to provide
> some guidance if so.

reply via email to

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