OriginalBugID: 4121 Bug
OSVersion: SunOS cotton 5.5.1 Generic_103640-31
Machine: sun4u sparc SUNW,Ultra-30
We are also using tcl with lynx, which is a much older version.
I cannot build the new version of tcl, because I fear the lynx (os)
folks have not sent in the config file diffs...
compile with gcc 2.95.2 19991024 as follows:
gcc -Wall -Wshadow x.c -o x.o
/usr/local/include/tclDecls.h:544: warning: declaration of `write' shadows
/usr/local/include/tclDecls.h:1418: warning: declaration of `write' shadows
I don't expect you folks to use variables named 'write' which conflict with a
well known unix system function name.
The user first had FoundIn at 8.0.4, but that's not possible with
tclDecls.h, so they realized it was actually 8.2.2. The warning
received is no error. It come from the declaration of Tcl_GetOpenFile
using 'int write' as a variable. This doesn't even occur on our
Solaris 2.7/gcc build with -Wshadow. However, I've changed the decl
to use 'int forWriting' instead.
On the other note, we don't have anything in our tcl.m4 for LynxOS.
-- 02/05/2000 hobbs