This is the mail archive of the libc-alpha@sources.redhat.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] |
Other format: | [Raw text] |
On Fri, Mar 26, 2004 at 11:49:42AM -0800, Ulrich Drepper wrote: > The defined __LONG_DOUBLE_MATH_OPTIONAL || !defined > __NO_LONG_DOUBLE_MATH expression probably deserves it own #define to > make tests shorter. > > All the redirect macros should be defined in a central place: > <sys/cdefs.h>. No need to duplicate this. And: out of sight. > <sys/cdefs.h> is not that often looked at. Done, __NLDBL_REDIR/__NLDBL_REDIR2 macros. As for the #defines for compilers without redirect or whatever other reasons the redirections wouldn't work, I took a different approach which doesn't clutter the headers - a small libnldbl_nonshared.a library which must be inserted before -lm and/or -lc when building a program with double == long double with non-redirect capable compiler. I have tried to cleanup the libio hacks too. Jakub
Attachment:
glibc-nldbl.patch.bz2
Description: BZip2 compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |