i386 and x86_64 fenv support

Eric Blake eblake@redhat.com
Tue Aug 27 13:37:00 GMT 2019

On 8/27/19 8:31 AM, Joel Sherrill wrote:
> Hi
> Earlier we discussed moving the winsup fenv.h files to newlib. Splitting
> winsup/cygwin/include/fenv.h to create a sys/fenv.h looks easy enough.
> But I have some status and a question after tinkering with this code out
> of tree and compiling with the RTEMS i386 and x86_64
> It includes winsup.h and wincap.h but it doesn't need them.
> It is a C++ file and changing it to C only resulted in needing to change
> bool to int and true/false to 1/0. That should be OK.

Why not use <stdbool.h>, so you don't have to change bool to int?

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20190827/3a8f5fd8/attachment.sig>

More information about the Newlib mailing list