Tcl Source Code

View Ticket
Login
Ticket UUID: 721196
Title: tclWinTime.c compile problems
Type: Bug Version: None
Submitter: vincentdarley Created on: 2003-04-14 16:09:00
Subsystem: 06. Time Measurement Assigned To: kennykb
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-04-16 04:23:39
Resolution: Fixed Closed By: kennykb
    Closed on: 2003-04-15 21:23:39
Description:
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.
User Comments: dgp added on 2003-04-16 03:32:52:
Logged In: YES 
user_id=80530

Yes, that patch allows the VC 5
build to complete.

kennykb added on 2003-04-16 00:11:50:
Logged In: YES 
user_id=99768

Don, you volunteered to test this on VC5 for me?

kennykb added on 2003-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.

kennykb added on 2003-04-15 04:02:22:

File Added - 47771: 721196.patch

kennykb added on 2003-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?

Attachments: