From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Beegan To: gsl-discuss@sources.redhat.com Subject: Re: gsl 0.8 compile error Date: Wed, 19 Dec 2001 13:20:00 -0000 Message-id: <2aefcbed8a8bad1f31634ab5ec5447ea@NO-ID-FOUND.mhonarc.org> References: X-SW-Source: 2001/msg00250.html Sorry, there was a stray #else in the included diff. Here is a fixed diff. --- fp-netbsd.c~ Tue Jun 26 10:34:25 2001 +++ fp-netbsd.c Tue Jun 26 10:32:07 2001 @@ -18,7 +18,6 @@ */ #include -#include #include #include @@ -68,12 +67,11 @@ } /* Turn on all available exceptions apart from 'inexact'. - Denormalized operand exception not available on all ports. */ + Denormalized operand exception not available on all platforms. */ -#ifdef FP_X_DNML - mode = FP_X_INV | FP_X_DNML | FP_X_DZ | FP_X_OFL | FP_X_UFL; -#else mode = FP_X_INV | FP_X_DZ | FP_X_OFL | FP_X_UFL; +#ifdef FP_X_DNML + mode = mode | FP_X_DNML #endif if (exception_mask & GSL_IEEE_MASK_INVALID) @@ -83,7 +81,7 @@ #ifdef FP_X_DNML mode &= ~ FP_X_DNML; #else - GSL_ERROR ("netbsd-" MACHINE " does not support the denormalized operand exception. " + GSL_ERROR ("NetBSD does not support the denormalized operand exception on this platform. " "Use 'mask-denormalized' to work around this.", GSL_EUNSUP); #endif