This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: RFA: Add dummy fenv.h to libc/include
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Mon, 24 Sep 2007 11:32:01 +0200
- Subject: Re: RFA: Add dummy fenv.h to libc/include
- References: <m3r6ko5svs.fsf@redhat.com>
- Reply-to: newlib at sourceware dot org
Hi Nick,
On Sep 24 10:12, Nick Clifton wrote:
> * libc/include/fenv.h: Dummy version of ISO C99 header file.
here's a question:
Consider an application which configure script checks for the existence
of the fenv.h header and functions defined therein. It will find that
the header exists and that, for instance, the function fesetround
exists, too. However, the fesetround will always return -1. This might
result in some applications not being buildable anymore in a working
way.
Wouldn't it be better to fake the "set"-type functions to always succeed?
Or, to drop the definitions of the set functions entirely?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat