| Description: |
OriginalBugID: 4119 Bug
Version: 8.3b2
SubmitDate: '2000-02-03'
LastModified: '2000-02-03'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: Compaq Deskpro 400MHz Pentium II, 128 MB RAM
FixedDate: '2000-02-03'
FixedInVersion: 8.3
Name:
Jay Schmidgall
CustomShell:
Straight up download from Scriptics of the gzipped source.
ReproducibleScript:
nmake -f makefile.vc
ObservedBehavior:
Attempting to build tk8.3b2 on Windows NT with MS Visual C++ 6.0.
Whilst compiling tkWinWm.c, an uninitialized pointer is used, which causes the compilation to halt.
"c:\Progra~1\MI017E~1\vc98\bin\cl.exe" -DDLL_BUILD -DBUILD_tk -Z7 -Od -W
X -c -W3 -nologo -Fp.\Debug\ -YX -MDd -I"c:\Progra~1\MI017E~1\vc98\include" -I.
.\win -I..\generic -I..\bitmaps -I..\xlib -I..\..\tcl8.3\generic -D__WIN32__
-DUSE_TCL_STUBS -Fo.\Debug\ ..\win\tkWinWm.c
tkWinWm.c
..\win\tkWinWm.c(2218) : warning C4700: local variable 'masterPtr' used without
having been initialized
..\win\tkWinWm.c(2218) : error C2220: warning treated as error - no object file
generated
NMAKE : fatal error U1077: '"c:\Progra~1\MI017E~1\vc98\bin\cl.exe"' : return cod
e '0x2'
Stop.
DesiredBehavior:
I would expect that either the pointer be initialized to NULL, if nothing else,
or that the warning would not cause compilation to halt.
This is already fixed in the current CVS (slipped through in 8.3b2).
The pointer access is not valid at all as used.
-- 02/03/2000 hobbs
|