Skip to content
Tcl Source Code Artifact [4fdfe78ed5]
Login

Artifact [4fdfe78ed5]

Artifact 4fdfe78ed5b02bc46f57d866c1bae19128fa14d0:

Ticket change [4fdfe78ed5] - New ticket [1195167fffffffff|1195167fff] <i>strtod() gets compiled into fixstrtod()</i>. by nobody on 2005-05-04 12:19:41.
D 2005-05-04T12:19:41
J assignee stwo
J cmimetype text/plain
J comment I\scross-compile\sthe\slatest\stcl8.4.9\ssource\scode\son\sa\s\nLinux\sx86\splatform\stargetting\san\sembedded\sPowerPC\s\n60x\srunning\sLinux.\sThe\sconfigure\sscript\sdetermines\sthat\s\nthe\sstrtod()\sfunction\sneeds\sto\sbe\sbuild\sfor\sthis\splatform,\s\nand\sfor\ssome\sreason\sit\salso\sdetermines\sthat\sthe\sfixstrtod\n()\sfunction\sneed\sto\sbe\sbuild\sas\swell.\nBecause\sof\sthe\sneed\sfor\sfixstrtod(),\sthe\sbuild\sscript\sadds\s\nthe\scompiler\sswitch\s-Dstdtod=fixstrtod\sto\sgcc.\sBut\sthis\s\ncauses\sboth\sstrtod()\s(compat/strtod.c)\sand\sfixstrtod()\s\n(compat/fixstrtod.c)\sto\sbe\scompiled\sinto\sthe\ssingle\s\nfunction\sfixstrtod().\s(compat/fixstrtod.c\scontains\s\nan\s"#undef\sstrtod"\sto\sundo\sthis\sdefine\slocally,\sbut\s\ncompat/strtod.c\sdoes\snot).\sSince\sfixstrtod()\sreferences\s\nstrtod(),\ssubsequent\slinking\sfails.\nAdding\s"#undef\sstdtod"\sto\scompat/strtod.c\sas\swell\s\nsolves\sthe\sproblem.\n
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 52.\sPortability\sSupport
J title strtod()\sgets\scompiled\sinto\sfixstrtod()
J type Bug
K 1195167fffffffffffffffffffffffffffffffff
U nobody
Z 0c5374b8b68f5038d53f30c554ebe02f