Skip to content
Tcl Source Code View Ticket
Login

View Ticket

SC_BUGGY_STRTOD and compat/strtod.c

Closed / Fixed1902697fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 8 years ago
Descriptionplain2008-02-27 03:53:09
As of the numerics reform in 8.5.0, nothing in the Tcl codebase calls strtod() anymore.

Tcl's configure.in still calls SC_BUGGY_STRTOD, though, and compat/fixtstrod.c is still present.  This is presumably for the benefit of Tk, which also calls SC_BUGGY_STRTOD in configure.in, but does not include its own copy of compat/fixstrod.c.

It is not clear whether Tk will even successfully compile and link if the SC_BUGGY_STRTOD test triggers, or if the  test is needed for Tk in the first place (looks to me like the answer is "no" in both cases.)
jenglishplain2009-01-15 01:45:34
Confirmed: Tk does *not* successfully link if SC_BUGGY_STRTOD triggers.
dgpplain2009-04-23 20:37:04
Comments on the chat suggest this bug
manifests as "Tk will not build" which seems
higher prio to me.

Hmm... this is the Patches tracker, but no patch?
dgp Closed ticket [1902697fff]. [History diff]2018-11-01 15:53:02
Log in (anonymous is fine) to add a comment.