This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: obnoxious "not implemented" messages


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]