OriginalBugID: 1519 Bug
Version: 8.1b2
SubmitDate: '1999-03-18'
LastModified: '1999-04-05'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: stanton
OS: Windows NT
Machine: X86
FixedDate: '2019-06-01'
FixedInVersion: 8.1b3
Name:
Petteri Kettunen
Extensions:
N/A
CustomShell:
N/A
ReproducibleScript:
1) Download sources from Scriptics FTP.
2) unzip tk81b2.zip
3) cd win
4) copy makefile.vc makefile & edit paths.
5) nmake
ObservedBehavior:
"c:\visualstudio\vc98\bin\cl.exe" -DDLL_BUILD -DBUILD_tk -Z7 -Od
-WX -c
-W3 -nologo -Fp.\Debug\ -YX -D_X86_=1 -DWIN32 -D_WIN32 -MDd
-I"c:\visualstudio\v
c98\include" -I..\win -I..\generic -I..\bitmaps -I..\xlib
-I..\..\tcl\generic
-DTCL_MEM_DEBUG -DUSE_TCL_STUBS -Fo.\Debug\ ..\win\tkWinWm.c
tkWinWm.c
..\win\tkWinWm.c(1148) : warning C4700: local variable 'winPtr' used
without hav
ing been initialized
..\win\tkWinWm.c(1148) : error C2220: warning treated as error - no
object file
generated
NMAKE : fatal error U1077: '"c:\visualstudio\vc98\bin\cl.exe"' : return
code '0x
2'
Stop.
DesiredBehavior:
Succesful compilation without errors.
Patch:
See Tk_WmCmd in win/TkWinWm.c. I commented out the troublesome lines.
PatchFiles:
N/A
03/26/1999 18:42 - redman - Fixed.
"log" of nmake test is below:
E:\ngs\devtools\tcl\tk\win>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
set TCL_LIBRARY=..\..\tcl/library
set
PATH=..\..\tcl\win\Debug;c:\bin;C:\WINNT\system32;C:\WINNT;;C:\SQL\B
INN;C:\SQL\DLL;C:\PICKER\BINNT;C:\PICKER\BIN;C:\PICKER\CVAB\DLL;C:\PICKER
\CVAB\P
ROG;C:\PROGRA~1\MICROS~1\Office;C:\WIN32APP\TOOLKIT;c:\win32app\toolkit;C
:\Visua
lStudio\Common\Tools\WinNT;C:\VisualStudio\Common\MSDev98\Bin;C:\VisualSt
udio\Co
mmon\Tools;C:\VisualStudio\VC98\bin;c:\bin;c:\binnt\gnu;c:\binnt;c:\pvcs nt;c:\r
si\idl50;C:\VisualStudio\VJ98;Y:.;U:.;S:.
.\Debug\tktest.exe ../tests/all.tcl | .\Debug\cat32.exe
This code looks broken.
04/05/1999 20:27 - stanton -
|