Skip to content
Tcl Source Code Artifact [f5d057bc8e]
Login

Artifact [f5d057bc8e]

Artifact f5d057bc8e9fc1879025bc90fb0707bdbd22d37e:

Ticket change [f5d057bc8e] - New ticket [217859ffffffffff|217859ffff] <i>tclDecls.h won&#39;t compile on SunOS</i>. by nobody on 2000-10-26 00:44:59.
D 2000-10-26T00:44:59
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2007\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-05-07'\nLastModified:\s'1999-10-21'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s1962\nOS:\sSunOS\nOSVersion:\s4.1.3_U1\nMachine:\sSparc\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-10-21'\n\n\nName:\nFred\sRoeber\n\nExtensions:\nTK\s8.1,\sTCL-DP\s4.0.2\n\nCustomShell:\nNone\n\nReproducibleScript:\nI\sran\sconfigure\son\sa\sSunOS\smachine\sand\sthen\swent\sto\scompile\sTCL\s8.1.\sThe\n\s\s\s\scompile\simmediately\sfailed\swith\sthe\serror:\n\s\s\s\sgcc\s-pipe\s-c\s-O\s-Wall\s-Wconversion\s\s\s-I../../generic\s-I..\n\s\s\s\s-DHAVE_GETCWD=1\s-DNO_STRERROR=1\s-DHAVE_UNISTD_H=1\s-DHAVE_SYS_PARAM_H=1\n\s\s\s\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\s-DTIME_WITH_SYS_TIME=1\n\s\s\s\s-DHAVE_TM_ZONE=1\s-DHAVE_TM_GMTOFF=1\s-DHAVE_TIMEZONE_VAR=1\n\s\s\s\s-DHAVE_ST_BLKSIZE=1\s-DNO_MEMMOVE=1\s-DSTDC_HEADERS=1\s-DNEED_MATHERR=1\n\s\s\s\s-DRETSIGTYPE=void\s-DHAVE_SIGNED_CHAR=1\s-DHAVE_SYS_IOCTL_H=1\n\s\s\s\s-DHAVE_SYS_FILIO_H=1\s-DUSE_FIONBIO=1\s\s\s\s\s\s\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s../../generic/regcomp.c\n\s\s\s\sIn\sfile\sincluded\sfrom\s../../generic/tcl.h:1521,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s../../generic/tclInt.h:33,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s../../generic/regcustom.h:2,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s../../generic/regguts.h:12,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s../../generic/regcomp.c:6:\n\s\s\s\s../../generic/tclDecls.h:1073:\sparse\serror\sbefore\s`size_t'\n\s\s\s\s../../generic/tclDecls.h:1514:\sparse\serror\sbefore\s`size_t'\n\n\s\s\s\sThis\serror\sshows\sup\sin\sany\ssource\sfile\sthat\sincludes\stclDecls.h\n\nObservedBehavior:\nCan't\scompile\sTCL\s8.1\sdue\sto\sincorrect\sinclude\sfile\sordering.\sI\sam\susing\n\s\s\s\sgcc\s2.8.1.\sI\scould\scompile\sTCL\s8.0.4\son\sthe\ssame\smachine\swith\sthe\ssame\n\s\s\s\scompiler.\n\nDesiredBehavior:\nI\sexpect\sto\sbe\sable\sto\scompile\sTCL\sto\sbe\sable\sto\ssupport\sprograms\n\s\s\s\srunning\son\sSunOS.\n\nPatch:\nI\ssimply\sremoved\sthe\sdeclaration\sfor\sthe\sTcl_UniCharNcmp\sfunction\sin\sthe\stcl.decls\sfile\sand\sredid\s"make\sgenstubs"\sto\sget\sa\snew\sversion\sof\stclDecls.h.\sI\scouldn't\sfigure\sout\show\sto\s"really"\sfix\sthings\sso\sthat\ssize_t\swould\sbe\svalid\sin\stclDecls.h\sdue\sto\sthe\sconvoluted\sinclude\sfile\sordering\srules\sin\sTCL.\sI\sdid\snote\sthat\sdefinitions\sincluded\sin\stclIntDecls.h\scould\srefer\sto\ssize_t\swith\sno\sproblem.\sI\salso\snoted\sthat\sthe\sdefinition\sof\sTcl_UniCharNcmp\sshould\shave\srefered\sto\sCONST\sinstead\sof\sconst\sfor\sconsistency\swith\sthe\sother\scode.\n\nAfter\smaking\sthis\sfix,\sI\scould\scompile\sTCL\s8.1\sand\sTK\s8.1\son\sSunOS\s(as\swell\sas\sSolaris\sand\sWindows/NT).\sIt\sdoesn't\sseem\sthat\sanyone\sreferences\sthe\sTcl_UniCharNcmp\sfunction\syet.\n\nPatchFiles:\ntcl.decls\n\n\n\n
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title tclDecls.h\swon't\scompile\son\sSunOS
J type Bug
K 217859ffffffffffffffffffffffffffffffffff
U nobody
Z e6a577f23cea559d7e18141754c60a30