.
D 2000-10-26T01:09:52
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4121\sBug\nVersion:\s8.2.2\nSubmitDate:\s'2000-02-03'\nLastModified:\s'2000-02-05'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSunOS\nOSVersion:\sSunOS\scotton\s5.5.1\sGeneric_103640-31\nMachine:\ssun4u\ssparc\sSUNW,Ultra-30\nFixedDate:\s'2000-02-05'\nFixedInVersion:\s8.3\nClosedDate:\s'2000-10-25'\n\n\nName:\njeff\sdeifik\n\nComments:\nWe\sare\salso\susing\stcl\swith\slynx,\swhich\sis\sa\smuch\solder\sversion.\nI\scannot\sbuild\sthe\snew\sversion\sof\stcl,\sbecause\sI\sfear\sthe\slynx\s(os)\nfolks\shave\snot\ssent\sin\sthe\sconfig\sfile\sdiffs...\n\nReproducibleScript:\nfile\sx.c:\n#include\s<stdio.h>\n#include\s<unistd.h>\n#include\s<tcl.h>\nmain()\s{}\n\ncompile\swith\sgcc\s2.95.2\s19991024\sas\sfollows:\ngcc\s-Wall\s-Wshadow\sx.c\s-o\sx.o\n\nObservedBehavior:\n/usr/local/include/tclDecls.h:544:\swarning:\sdeclaration\sof\s`write'\sshadows\s\nglobal\sdeclaration\n/usr/local/include/tclDecls.h:1418:\swarning:\sdeclaration\sof\s`write'\sshadows\n\sglobal\sdeclaration\n\nDesiredBehavior:\nI\sdon't\sexpect\syou\sfolks\sto\suse\svariables\snamed\s'write'\swhich\sconflict\swith\sa\nwell\sknown\sunix\ssystem\sfunction\sname.\n\n\n\nThe\suser\sfirst\shad\sFoundIn\sat\s8.0.4,\sbut\sthat's\snot\spossible\swith\ntclDecls.h,\sso\sthey\srealized\sit\swas\sactually\s8.2.2.\s\sThe\swarning\nreceived\sis\sno\serror.\s\sIt\scome\sfrom\sthe\sdeclaration\sof\sTcl_GetOpenFile\nusing\s'int\swrite'\sas\sa\svariable.\s\sThis\sdoesn't\seven\soccur\son\sour\nSolaris\s2.7/gcc\sbuild\swith\s-Wshadow.\s\sHowever,\sI've\schanged\sthe\sdecl\nto\suse\s'int\sforWriting'\sinstead.\n\nOn\sthe\sother\snote,\swe\sdon't\shave\sanything\sin\sour\stcl.m4\sfor\sLynxOS.\s\n--\s02/05/2000\shobbs
J foundin obsolete:\s8.2.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title gcc\scompiler\scomplains\sabout\stclDecls.h
J type Bug
K 219047ffffffffffffffffffffffffffffffffff
U nobody
Z cd46d4fb76ffb26fdada4c7f61817e56