.
D 2006-11-08T17:25:27
J assignee das
J cmimetype text/plain
J comment Building\s64bit\stcl\son\sLP64\splatforms\swith\sgcc4\s(and\sprobably\searlier)\sgives\s\nmany\s'cast\sto/from\spointer\sfrom/to\sinteger\sof\sdifferent\ssize'\swarnings\s\nabout\s(safe)\scasts\sto/from\sClientData\sand\sother\svoid*\stypes\n\nThe\srecommended\sway\sto\savoid\sthese\swarnings\sis\sto\sadd\scasts\sto\sthe\s\nintermediate\stypes\sintptr_t/uintptr_t.\n\nThe\srecently\sreleased\sautoconf\s2.60\shas\sAC_TYPE_INTPTR_T\sresp\s\nAC_TYPE_UINTPTR_T\smacros\s\sto\scheck\sif\sthese\sC99\stypes\sare\savailable\s(if\s\nan\supgrade\sto\sautoconf\s2.60\sis\snot\spossible,\sit\sshould\sbe\spossible\sto\swrite\s\nequivalent\smacros\sfor\stcl.m4).\n\nThe\sattached\spatch\sadds\scasts\sto\s(INTPTR_T)\sresp\s(UINTPTR_T)\swhere\s\nneeded,\sthose\sare\smacros\sin\stclInt.h\sthat\sfall\sback\sto\svoid*\sif\sthe\sintptr_t\s/\nuintptr_t\stypes\sare\snot\savailable.\n\nI\shave\snot\stouched\sthe\swindows\sconfigure.in,\s64bit\swin\swill\sthus\sfallback\s\nas\sabove\sand\smay\sstill\shave\sthose\swarnings,\sif\sso\sit\sis\sprobably\ssufficient\s\nto\smake\sthe\ssame\schanges\sas\sin\sunix/configure.in\sbut\sI\scannot\stest\sthis.
J foundin None
J is_private 0
J priority 6
J resolution None
J status Open
J submitter das
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title Fix\s64bit\spointer\scast\swarnings
J type Patch
K 1592791fffffffffffffffffffffffffffffffff
U das
Z bf71f0168102b65e03519349b1ad17f5