This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: obnoxious "not implemented" messages
- To: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Subject: Re: obnoxious "not implemented" messages
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 28 Jul 1998 10:17:33 -0700
- Cc: libc-hacker@cygnus.com
- References: <199807281645.MAA09345@rabi.phys.columbia.edu>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------