Skip to content
Tcl Source Code Artifact [5e70db38b5]
Login

Artifact [5e70db38b5]

Artifact 5e70db38b56b6f67fccc9ffa8563238d84ccbeb4:

Ticket change [5e70db38b5] - Ticket [2651823fffffffff|2651823fff] <i>Tcl_StatBuf definition problem with VS2005 and Win XP x64</i> status still Open with 4 other changes by mgammon on 2009-10-28 16:43:37.
D 2009-10-28T16:43:37
J icomment I\shave\sbeen\strying\sto\sbuild\sTcl\s8.5.7\sunder\sXP64,\sand\snot\sgetting\svery\sfar.\nI\sfound\sthis\sposting\sfrom\sMarch\sthis\syear\swhere\syou\sran\sin\sto\sbuild\sproblems\sfor\sthe\sAMD64\splatform.\n\nI've\smade\sthe\ssame\sfix\sto\stcl.h\sto\scure\sthe\sTcl_StatBuf\scompile\sfailures\sand\sthis\sfixes\sthat\sproblem,\sbut\sI\sstill\ssee\ssome\sworrying\swarnings\sabout\smismatched\ssizes,\se.g.\n\n..\\generic\\regcomp.c(468)\s:\swarning\sC4267:\s'function'\s:\sconversion\sfrom\s'size_t'\s\sto\s'unsigned\sint',\spossible\sloss\sof\sdata\n\n..\\generic\\regexec.c(224)\s:\swarning\sC4267:\s'function'\s:\sconversion\sfrom\s'size_t'\s\sto\s'unsigned\sint',\spossible\sloss\sof\sdata\n\nThe\sfirst\slooks\sto\sbe\sa\sfundamental\sproblem\scaused\sby\sTcl_Alloc\sdeclaring\sit\ssize\sarg\sas\sunsigned\sint\srather\sthan\ssize_t.\sPossibly\snot\sa\scritical\sproblem\sso\slong\sas\snothing\sin\sTcl\sallocates\smore\sthan\s4Gb.\s\n\nThe\ssecond\sis\scaused\sby\ssubtracting\spointers\swhich\sresults\sin\sa\s64bit\sint\sand\spacking\sthis\sinto\sa\slong,\swhich\son\sAMD64\sis\s32bit.\sThis\slooks\slike\sa\smore\sserious\sproblem.\n\nLooking\sback\sthrough\sother\spostings\son\sTcl\sand\sI\sfound\sTIP\s#115\sMaking\sTcl\sTruly\s64-Bit\sReady.\sThis\sseems\sto\sdescribe\sa\slot\sof\sthe\sissues\si'd\sexpect\sto\ssee\swith\sdoing\sa\sAMD64\sport.\sIts\sdated\s2002\sand\sdoesn't\sseem\sto\shave\sgone\sany\sfurther.\n\nI\sguess\swhat\sI'm\sreally\sasking\sis\sTcl\s8.5.7\s(\sor\s8.6b1)\sreally\ssupported\son\sAMD64?\nI\scan't\sfind\sa\sdefinitive\sstatement\sabout\sthis\sbut\sthe\scode\sand\spostings\sseem\sto\ssuggest\sthat\sits\snot\sproperly\ssupported,\syet?\sCan\sanyone\sconfirm\sthis?\n\nThanks\nMark\n
J login mgammon
J mimetype text/plain
J username mgammon
K 2651823fffffffffffffffffffffffffffffffff
U mgammon
Z 46396aafe58741d9a35b609fed8ab1b1