This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Add dummy fenv.h to libc/include


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]