Skip to content
Tcl Source Code Artifact [e0ea9fad97]
Login

Artifact [e0ea9fad97]

Artifact e0ea9fad9774326b885acc57721fbe21c5184cf7:

Ticket change [e0ea9fad97] - New ticket [2881263fffffffff|2881263fff] <i>cannot compile with gcc 2.95.4</i>. by mistachkin on 2009-10-18 12:17:05.
D 2009-10-18T12:17:05
J assignee msofer
J cmimetype text/plain
J comment Version\s2.95.4\sof\sgcc\sdoes\snot\sappear\sto\slike\sa\svariable\sdeclaration\safter\san\sempty\sstatement.\s\sIn\stclCompCmds.c,\sthere\sis\sa\smacro\s"DefineLineInformation"\sthat\sevaluates\sto\san\sempty\sstatement\swhen\sthe\sTCL_TIP280\sdefine\sis\snot\spresent.\s\sThis\scauses\sthe\sfollowing\scompiler\serrors:\n\ngcc\s-c\s-g\s-pipe\s-pthread\s-DTCL_DBGX=g\s-Wall\s-fno-strict-aliasing\s-fPIC\s-I.\s-I/tcl/tcl8.4/tcl/unix/../generic\s-I/tcl/tcl8.4/tcl/unix\s-DNO_VALUES_H=1\s-DHAVE_LIMITS_H=1\s-DHAVE_UNISTD_H=1\s-DHAVE_SYS_PARAM_H=1\s-DUSE_THREAD_ALLOC=1\s-D_REENTRANT=1\s-D_THREAD_SAFE=1\s-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1\s-DTCL_THREADS=1\s-DTCL_MEM_DEBUG=1\s-DTCL_COMPILE_DEBUG=1\s-DTCL_COMPILE_STATS=1\s-DTCL_WIDE_INT_TYPE=long\\\slong\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\s-DHAVE_STRTOL=1\s-DHAVE_STRTOLL=1\s-DHAVE_STRTOULL=1\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\s-DTIME_WITH_SYS_TIME=1\s-DHAVE_TM_ZONE=1\s-DHAVE_GMTIME_R=1\s-DHAVE_LOCALTIME_R=1\s-DHAVE_TM_GMTOFF=1\s-DHAVE_ST_BLKSIZE=1\s-DSTDC_HEADERS=1\s-DHAVE_SIGNED_CHAR=1\s-DHAVE_PUTENV_THAT_COPIES=1\s-DHAVE_LANGINFO=1\s-DHAVE_FTS=1\s-DHAVE_SYS_IOCTL_H=1\s-DHAVE_SYS_FILIO_H=1\s-DTCL_SHLIB_EXT=\\".so\\"\s/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c\n\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:\sIn\sfunction\s`TclCompileForeachCmd':\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:784:\ssyntax\serror\sbefore\s`int'\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:828:\s`varcList'\sundeclared\s(first\suse\sin\sthis\sfunction)\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:828:\s(Each\sundeclared\sidentifier\sis\sreported\sonly\sonce\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:828:\sfor\seach\sfunction\sit\sappears\sin.)\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:829:\s`varvList'\sundeclared\s(first\suse\sin\sthis\sfunction)\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:1078:\s`varcListStaticSpace'\sundeclared\s(first\suse\sin\sthis\sfunction)\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:\sIn\sfunction\s`TclCompileLindexCmd':\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:1857:\ssyntax\serror\sbefore\s`int'\n/tcl/tcl8.4/tcl/unix/../generic/tclCompCmds.c:1858:\s`numWords'\sundeclared\s(first\suse\sin\sthis\sfunction)\s\n\nI\sbelieve\sit\sis\simportant\sto\scontinue\sto\ssupport\sthis\sparticular\scompiler\sversion\swith\sTcl\s8.4\sfor\sthe\sfollowing\sreasons:\n\n1.\sHistorically,\sit\shas\salways\sworked\swith\s8.4.\n2.\sIt\sworks\swith\sHEAD\sand\sthe\slatest\scode\son\score-8-5-branch.\n3.\sIt\sshould\sbe\sfairly\strivial\sto\schange\sthe\scode\sin\stclCompCmds.c\sto\savoid\susing\sthe\sproblematic\sconstruct.
J foundin obsolete:\s8.4.19
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter mistachkin
J subsystem 47.\sBytecode\sCompiler
J title cannot\scompile\swith\sgcc\s2.95.4
J type Bug
K 2881263fffffffffffffffffffffffffffffffff
U mistachkin
Z 6d0ae7ba9c3cb19deed6ee8a497ea163