Skip to content
Tcl Source Code Artifact [2bb8abe10b]
Login

Artifact [2bb8abe10b]

Artifact 2bb8abe10bf520e545a61e21cc1e6b7068346773:

Ticket change [2bb8abe10b] - New ticket [3110161fffffffff|3110161fff] <i>Extensions using TCHAR don&#39;t compile on VS2005 SP1</i>. by nijtmans on 2010-11-16 14:51:21.
D 2010-11-16T14:51:21
J assignee nijtmans
J cmimetype text/plain
J comment It\sseems\sthat\sthe\sTCHAR\sdefine\sis\smissing\sfrom\s<tchar.h>\shere.\n\n\nJeffrey\sHobbs\smailed\sabout\sthis:\n======================================================================\nA\suser\swas\scomplaining\sthat\sin\smoving\sto\s8.5\sthat\sthey\sget\serrors\son\sTCHAR\snot\sbeing\sdefined\swhen\sbuilding\sextensions\sagainst\sTcl\susing\sVS2005\sSP1.\n\nIn\sparticular,\sthe\suser\sapplication\sincludes\s"tcl.h",\sbut\snot\sthe\s"windows.h".\sAfter\sthey\sadd\sthe\s"windows.h"\sheader,\sthe\serror\sis\sgone.\s\sHowever,\sthis\swasn't\sneeded\sfor\s8.4\sand\sI\scan't\sfind\sany\sreference\sto\sthis\sbeing\sa\smarked\schange\sin\sexpected\sbehavior.\s\sThey\straced\sit\sdown\sto\sthe\sremoval\sof\sthis\sfrom\stclPlatDecls.h\sin\s8.5\s(was\sin\s8.4):\n\n\s#\s\s\sif\sdefined(_MSC_VER)\s&&\sdefined(__STDC__)\n\s\s\s\s\s\s\s\s\s/*\sMSVC++\smisses\sthis.\s*/\n\s\s\s\s\s\s\s\s\stypedef\s_TCHAR\sTCHAR;\n\s#\s\s\sendif\n\nI\scan't\srepro\sthis\sbehavior,\sbut\swe\shave\sonly\sMSVC6\sor\sVS2008.\s\sDoes\sthis\sring\sany\sbells?\s\sIs\sthis\suser\serror\ssomewhere\selse,\sor\sam\sI\smissing\ssomething\sabout\sheader\sbehavior\sthat\swe\sshould\sdoc?
J foundin obsolete:\s8.5.9
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 52.\sPortability\sSupport
J title Extensions\susing\sTCHAR\sdon't\scompile\son\sVS2005\sSP1
J type Bug
K 3110161fffffffffffffffffffffffffffffffff
U nijtmans
Z b15dc75f0145a1455b6fa04d7b13e252