delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
Date: | 24 Dec 2003 07:48:58 +0200 |
Message-Id: | <ubrpy3gvp.fsf@elta.co.il> |
From: | Eli Zaretskii <eliz AT elta DOT co DOT il> |
To: | Richard Dawe <rich AT phekda DOT gotadsl DOT co DOT uk> |
CC: | djgpp-workers AT delorie DOT com, Kbwms AT aol DOT com |
In-reply-to: | <3FE8BB51.7060505@phekda.gotadsl.co.uk> (message from Richard |
Dawe on Tue, 23 Dec 2003 22:01:53 +0000) | |
Subject: | Re: Fwd: isnanf et al |
References: | <25 DOT 426e728a DOT 2d1a09d4 AT aol DOT com> <3FE8BB51 DOT 7060505 AT phekda DOT gotadsl DOT co DOT uk> |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Tue, 23 Dec 2003 22:01:53 +0000 > From: Richard Dawe <rich AT phekda DOT gotadsl DOT co DOT uk> > > > > --- c:/djgpp.204/src/libm/math/fdlibm.h 1998-10-04 06:48:42.000000000 -0400 > > +++ c:/djgpp/src/libm/math/fdlibm.h 2003-12-15 11:44:02.000000000 -0500 > > @@ -22,6 +22,10 @@ > > #include <machine/ieeefp.h> > > #endif > > > > +#undef isnanf > > +#undef isinff > > +#undef finitef > > + > > /* CYGNUS LOCAL: Default to XOPEN_MODE. */ > > #define _XOPEN_MODE > > Why not just remove the definitions of is*f from <ieefp.h>? Do we have functions that go by those names? If not, removing the definitions will leave us without this functionality, and that could potentially break some applications out there, or even the libm functions themselves, if some of them use those macros. So I'd suggest instead to replace these macros with different definitions which do not contradict C99.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |