Skip to content
Tcl Source Code Artifact [adfb513096]
Login

Artifact [adfb513096]

Artifact adfb51309617773309dfe1ccb4551ba4196fe0e7:

Ticket change [adfb513096] - New ticket [3511806fffffffff|3511806fff] <i>Compiler checks too early</i>. by nijtmans on 2012-03-27 09:21:39.
D 2012-03-27T09:21:39
J assignee nijtmans
J cmimetype text/plain
J comment configure.in\sfor\sTcl\scontains\s6\scompiler\schecks:\n1)\sSupport\sfor\sSEH\n2)\sEXCEPTION_DISPOSITION\ssupport\n3)\sLPFN_ACCEPT\sin\swinsock2.h\n4)\swinnt.h\sthat\signores\sVOID\sdefine\n5)\smissing\salloca\sdeclaration\sin\smalloc.h\n6)\scasting\sto\sunion\stype\n\nAll\sof\sthose\schecks\sare\smeant\sto\sdetect\ndefects/features\sin\ssome\smingw/cygwin\nversions.\sHowever,\sSC_CONFIG_CFLAGS\nis\sable\sto\sswitch\scompiler,\se.g.\sfor\sms\nwin64/wince\sor\sfor\scygwin.\sSo\sthose\schecks\nare\sdone\swith\sthe\swrong\scompiler.\n\nProposed\ssolution:\smove\sthose\schecks\nafter\sSC_CONFIG_CFLAGS.\sFor\nMS\swin64/wince\sthat\swouldn't\swork\nbecause\sof\sspaces\sin\sthe\sreplacement\n$CC,\sbut\slucky\senough\sthose\schecks\nare\sonly\smeant\sfor\sgcc.\sSo,\sputting\sa\n\s\s\s\sif\stest\s"$GCC"\s=\s"yes";\sthen\naround\sit\sshould\swork\sfor\sall\nknown\scompilers.\n\nEven\sbetter:\scheck\s1),\s4)\sand\s6)\ncould\sbe\smoved\sfrom\sconfigure.in\nto\stcl.m4,\sas\spart\sof\sthe\nSC_CONFIG_CFLAGS\smacro.\nThen\sTEA\scan\sbenefit\sfrom\sit\sas\swell.
J foundin obsolete:\s8.5.11
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 52.\sPortability\sSupport
J title Compiler\schecks\stoo\searly
J type Bug
K 3511806fffffffffffffffffffffffffffffffff
U nijtmans
Z 765e3597761bea856861b60d0da39285