Overview
| Artifact ID: | 2f1957689e8914b9ea1c22041d898fb1f7a55573 |
|---|---|
| Ticket: | 541181ffffffffffffffffffffffffffffffffff
gcc compiled Tcl library needs libgcc |
| User & Date: | msofer on 2002-04-27 05:09:40 |
Changes
- icomment:
Logged In: YES user_id=148712 Those #include are in since the very first version on SF (1.1); what's more, compat/float.h has been empty since those days too! So: what is actually the point of #ifdef NO_FLOAT_H # include "../compat/float.h" #else # include <float.h> #endif Also, unix/tclUnixPort.h includes <float.h> to define FLT_MAX (used in generic/tclBinary.c) and FLT_MIN (unused); if float.h is not available, it tries <values.h>; if that is not available either, it defines default values that almost coincide with what I find in my /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/float.h Note that FLT_MAX is only used in [binary format], to represent too-large single-precision floats. So: what is really the point of <float.h> in tcl? Note: win/tclWinPort.h also includes <float.h>.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"