.
D 2004-12-09T18:21:39
J assignee davygrvy
J cmimetype text/plain
J comment \nThe\sTcl\s8.5a2\srelease\sdropped\sthe\n\nextern\s"C"\s{\n....\n}\n\nfrom\stcl.h.\s\sWhen\scompiling\sC++\ncode,\sthis\schanges\sthe\stypedefs\nin\san\sincompatible\sway.\s\s\n\nFor\sexample,\spreviously\sthe\ntypedef\sTcl_DriverCloseProc\nwas\sdefined\sas\n\nextern\s"C"\sint(*)(void*,Tcl_Interp*)\n\nbut\snow\sit\sis\sdefined\sas\n\nint(*)(void*,Tcl_Interp*)\n\nwhich\shas\sdifferent\slinkage.\n\nThis\sleads\sto\scompiler\swarnings\nand\seven\sfailure\sto\scompile\scode\nthat\sworked\sfine\swith\solder\sTcl\nreleases.\n\nWorkaround\swould\sbe\sfor\sall\nC++\scode\sto\swrap\sits\s#include's\nof\stcl.h\sin\sextern\s"C"\sfor\sitself.\n\nPlease\srestore\sthe\sextern\s"C".\n\nSorry\sI\sdid\snot\scatch\sthis\ssooner.
J foundin obsolete:\s8.5a2
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem None
J title extern\s"C"\stypedef\sincompatibility
J type Bug
K 1082349fffffffffffffffffffffffffffffffff
U dgp
Z a2ad20550e4e88a242811b1f36c54264