Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclWinTime.c compile problems

Closed / Fixed721196ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-04-14 16:09:00
Both the 8.4 branch and cvs head no longer 
compile for me with VC++ 5.2.  I get errors like 
these:

..\win\tclWinTime.c(92) : error C2061: syntax 
error : identifier 'ULONGLONG'
..\win\tclWinTime.c(99) : error C2059: syntax 
error : '}'
..\win\tclWinTime.c(101) : error C2282: 'TimeInfo' 
is followed by 'timeInfo' (mi
ssing ','?)
..\win\tclWinTime.c(122) : error C2059: syntax 
error : '}'
..\win\tclWinTime.c(138) : error C2146: syntax 
error : missing ')' before identi
fier 'fileTime'
..\win\tclWinTime.c(138) : error C2501: 'fileTime' : 
missing decl-specifiers
..\win\tclWinTime.c(1056) : fatal error C1004: 
unexpected end of file found
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
kennykbplain2003-04-15 04:02:21
Logged In: YES 
user_id=99768

Vince,
I don't have a VC5 to test with; it works fine on VC6.
It appears that VC5 doesn't have ULONGLONG, and I don't
know what else it might be missing.  Could you try the attached
patch against the HEAD and report back?
kennykbplain2003-04-15 04:02:22
File Added - 47771: 721196.patch
kennykbplain2003-04-15 06:15:35
File Deleted - 47771: 



File Added - 47780: 721196.patch

Logged In: YES 
user_id=99768

Damn, someone changed the code underneath me while I was preparing the patch. Here's a revised one.
kennykbplain2003-04-16 00:11:50
Logged In: YES 
user_id=99768

Don, you volunteered to test this on VC5 for me?
dgpplain2003-04-16 03:32:52
Logged In: YES 
user_id=80530

Yes, that patch allows the VC 5
build to complete.
dgp Ticket [721196ffff]: 1 change [History diff]2003-04-16 03:35:08
kennykb Closed ticket [721196ffff]. [History diff]2003-04-16 04:23:39
Log in (anonymous is fine) to add a comment.

Attachments: