<i>Mechanism with 64 bit support in tcl.h does not work outside of core</i> status still Open with 3 other changes
by
.
D 2017-03-24T16:03:01.484
J icomment Well,\sI\sthink\syou\smisunderstand\sthe\sintention\sof\sTCL_WIDE_INT_IS_LONG.\sOn\sWin64,\ssizeof(long)\s==\s4\sand\ssizeof(void\s*)\s==\s8.\sSo,\salthough\spointers\sare\s64-bit,\slong\sis\s32-bit.\sSo\sit\sis\scorrect\sthat\son\sWin32/Win64,\sTCL_WIDE_INT_IS_LONG\sis\sNOT\r\ndefined.\sThat's\sas\sexpected!\sTCL_WIDE_INT_IS_LONG\sdoesn't\stell\sanything\sabout\sthe\splatform\sbeing\s32-bit\sor\s64-bit.\sIt\sjust\stells\swhether\s"long"\sis\s32-bit\sor\s64-bit.\sNot\sreally\swhat\syou\sexpect,\sisn't\sit?\r\n\r\nIn\syour\sanalysis,\syou\sexpect\sTCL_WIDE_INT_IS_LONG\sto\sbe\sset\son\sWin64.\sWell,\sthat's\sincorrect,\sand\sthat's\swhere\syour\sanalysis\sis\swrong.\sSorry\s;-)
J login jan.nijtmans
J mimetype text/plain
K 1cc44617e2b4ed0a29f75762d45fe46388260f74
U jan.nijtmans
Z f6ecb5420eb946701647233d2c4f0b9e