Skip to content
Tcl Source Code View Ticket
Login

View Ticket

compile errors in cvs head.

Closed / Fixed1217017fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-08 13:49:03
CVS head of Tcl and Tk both show compile errors on
Windows with VC++ 6.2:

..\win\tclWinChan.c(127) : warning C4133:
'initializing' : incompatible types -
from 'void (__cdecl *)(void *,__int64 )' to 'int
(__cdecl *)(void *,__int64 )'
..\win\tclWinChan.c(598) : error C2371:
'FileTruncateProc' : redefinition; diffe
rent basic types
        ..\win\tclWinChan.c(103) : see declaration of
'FileTruncateProc'
tclWinThrd.c
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

        cl -DBUILD_tk -Oti -nologo -c -YX
-Fp.\Release\tk_Dynamic\ -W3 -QI0f -MD
 -I"..\win" -I"..\generic" -I"..\bitmaps" -I"..\xlib" 
-I "..\..\cvs-tcl\win" -I
 "..\..\cvs-tcl\generic"
-DTCL_CFGVAL_ENCODING=\"cp1252\" -DTCL_CFG_OPTIMIZED -D
USE_TCL_STUBS -Fo.\Release\tk_Dynamic\
@C:\DOCUME~1\VinceD\LOCALS~1\Temp\nma0333
2.
tkWinX.c
..\win\tkWinX.c(1930) : error C2065: 'ULONG_PTR' :
undeclared identifier
..\win\tkWinX.c(1930) : error C2064: term does not
evaluate to a function
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
dkfplain2005-06-08 21:12:55
Logged In: YES 
user_id=79902

tclWinChan.c problem was my fault and a stupid mistake.
fixed it.
vincentdarleyplain2005-06-08 23:52:46
Logged In: YES 
user_id=32170

Closing; I'll report the Tk one separately.
Thanks!
Log in (anonymous is fine) to add a comment.