Re: [PATCH 2/3] libm: Remove __ieee754_gamma_r variants

Keith Packard via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Corinna Vinschen via Newlib <[email protected]> writes:

> Removing interfaces is not an option for Cygwin.  If you remove
> functions from newlib exported as symbols in Cygwin, you must provide
> replacement interfaces for Cygwin alone, otherwise Cygwin won't build
> anymore.  And one step further, removing interfaces from the list of
> exported symbols of the Cygwin DLL will break user space and that's
> simply a no-no.

Then tell us what you want gamma and gamma_r to do for Cygwin. They're
non-standard interfaces for POSIX, C99 and C17, so you get to
pick.

Removing them for non-Cygwin uses appears to be the safest choice as
that will (intentionally) break applications which were expecting them
to implement either the BSD or Linux behavior, when in fact they do
neither (!).

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl9QApoACgkQ2yIaaQAA
ABFF+w//W/qgq6aEoyVWj/CIo5sFo+JVbaNxuftMpKZOIXh9b4OFoG5S3mr2Z6+U
dObqw6wS5BLI5DwMakvI4tnX3Lphgq1n+L7uR1UscdUhm02CyljBYZTwGYu/HOA0
hZ2hU5QUmZB0SEocPpKIhp8WQaoOWwipCgl/Ey+N8a4zZby/iSuj9f9ARC9WE4GF
hAfPxbNFoXOY+Knf3ocv5KUhcy9yAeZwMfUankOsw8gRn4xCizf90nDYtAOLqiFM
Vqpc4uQtVClTNperAqiHnzr7r0ZSJXzXKVAimRccE/UBxPHTuoM8mE+6NKxY3M4U
Q8RNkMjBIA23sJqtRCFiocWYCj4ctQJURsher5Pyjq1qQNsGQXNbfWxw5KHs+ukq
Dd3lb7xqkX7KvjEYUleXCyTdLP89lUtpXpsYK+Y2sCpywzK6MFxeXpoi42qpdb3l
2tPzoDnp9zLT1X5vPa8mfMX6Mbo8aFMyaFND6sBS/CehtMxhDhNHc6XvGDkjYhuA
CMAleQ1OSFGVGgILkj8flu2UDiL+nZ3gll0Oz4lf8UR/MCz56LULQWh9E+hcEcqM
+vf11hv2DX1uIyOsw98ELtDajzvLp1/j+4L2pHpxS/y1zeV5ns6MZJdvI2T28ePS
afbNAQGzF+FsoVWwCtAfwSw1z8EhHqFZ2h6opvEILIPKmmmEmX4=
=1Wmb
-----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.