Re: i386 and x86_64 fenv support

Eric Blake <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAl1lMhQACgkQp6FrSiUn
Q2po2Qf/diw1ZfZ2W4NFdm7BHJeqG6OXXGA7MfGFyM/i7pkiUMjs+3HQ0W/eT226
8DR4BnuDta5bg9UsA9RI/RdBY0LaP1R4PCOyhkoz6jW//ca3qyCttUPhlAYJ5U3S
RgNLEAI1q4dwqL1KIVziWqhBWAy1uxr3kp3mvc6/oe9wD5YoSTy/cDlMrTm9TsbV
Dhn+Z24goliBYGreESI1QXwGAJvXlZxDGHzYuLy9ybfgEPTA+uDJWZBQc0NCpYSz
6j5X5OQZmSMgqCXchFbq0treQP6Yv/ihbxvNvOUazobXVdeET/QOmW1u0yqWzTVF
pmXHTVEjTzjt5iSZ2cxSUioutS+sNA==
=IkeP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.