obnoxious "not implemented" messages
Ulrich Drepper
drepper@cygnus.com
Tue Jul 28 10:26:00 GMT 1998
Zack Weinberg <zack@rabi.phys.columbia.edu> writes:
> The stub long-double math functions print an obnoxious message in
> addition to returning ENOSYS. Why is this done? It doesn't help the
> user any; it can cause crashes (e.g. if I close stderr); and it
> collides with expectations that the math functions have no side
> effects.
In this cae it's better to have a crashing program than one which does
not test for plausible results. If somebody uses the long double
float functions on a platform which does not support them everything
can happen and I think it is better to make this very clear, not only
while compiling where messages can get lost in the bulk of compiler
messages.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-hacker
mailing list