Ticket UUID: | 1200680 | |||
Title: | Consider purge of TCL_NO_MATH | |||
Type: | RFE | Version: | None | |
Submitter: | dgp | Created on: | 2005-05-12 14:02:42 | |
Subsystem: | None | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-05-14 00:12:17 | |
Resolution: | Accepted | Closed By: | dgp | |
Closed on: | 2005-05-13 17:12:17 | |||
Description: |
Some parts of the Tcl source code use the TCL_NO_MATH macro to avoid calling math routines. Apparently this was intended to support some level of Tcl on systems with no libm. There are five source code files that currently #include math.h, yet only two use TCL_NO_MATH to control. If anyone's using TCL_NO_MATH, it's very likely broken. Keeping it in a broken state doesn't make sense. I'd suggest that keeping it at all doesn't make sense, and purging this un(der)tested configuration is a better idea than continuing to half-support it. | |||
User Comments: |
dgp added on 2005-05-14 00:12:17:
Logged In: YES user_id=80530 ...now committed. dgp added on 2005-05-14 00:11:19: File Added - 134374: 1200680.patch Logged In: YES user_id=80530 Here's the patch... dgp added on 2005-05-12 21:09:00: Logged In: YES user_id=80530 Notably TclStrToD() now needs math.h, so there's little of Tcl left that would survive a "working" TCL_NO_MATH. |
Attachments:
- 1200680.patch [download] added by dgp on 2005-05-14 00:11:19. [details]