Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-03-13
03:36 • Closed ticket [510022ffff]: Win64 support plus 7 other changes artifact: 0227bc55e5 user: davygrvy
03:00 • Pending ticket [510022ffff]. artifact: 7ff3b49c7f user: hobbs
2002-02-26
03:47 • Ticket [510022ffff]: 5 changes artifact: 07e8076d55 user: davygrvy
02:04 • Ticket [510022ffff]: 4 changes artifact: d2b25b5ceb user: hobbs
2002-01-29
17:46 • Ticket [510022ffff]: 4 changes artifact: 8ac23e230d user: davygrvy
17:46 • Ticket [510022ffff]: 4 changes artifact: deb315b563 user: davygrvy
17:46 • Ticket [510022ffff]: 4 changes artifact: e076326d96 user: davygrvy
17:46 • Add attachment patch.txt to ticket [510022ffff] artifact: 52c74aa8a4 user: davygrvy
11:27 • Ticket [510022ffff] Win64 support status still Open with 4 other changes artifact: 439113e6c2 user: davygrvy
11:27 • Ticket [510022ffff]: 4 changes artifact: 4387ea3932 user: davygrvy
10:56 • Ticket [510022ffff]: 2 changes artifact: b5bd8c9047 user: davygrvy
10:54 • Ticket [510022ffff]: 4 changes artifact: 15f367f63f user: davygrvy
03:54 • New ticket [510022ffff]. artifact: 97855360a6 user: davygrvy

Win64 support

Closed / Rejected510022ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 19 years ago
Descriptionplain2002-01-29 03:54:22
Provided is a starting place.  0% of it has been 
tested.  I can't run Win64 here, but can run the test 
compiler.  All type warnings have been elimitated.  
The most common ones involved the following:

char *a = start;
char *b = end;
int len = (b-a);

just a simple cast was added. __int64 isn't int under 
win64 and it's obvious from the context it won't over-
run or truncate data.

int len = (int) (b-a);

In the Windows code, I did get a bit specific as the 
types are in the SDK headers:

int len = (int) (ULONG_PTR) (b-a);

Just so no pointer math misunderstandings happen.  If 
b and a where Tcl_UniChar, the answer would be byte 
length and not char length.  I might have made some 
errors regarding this.  Watch for it :)
davygrvyplain2002-01-29 10:54:23
File Added - 16932: patch.txt
davygrvy Ticket [510022ffff]: 2 changes [History diff]2002-01-29 10:56:00
davygrvyplain2002-01-29 11:27:13
Logged In: YES 
user_id=7549

delete the diff section for tclWinReg.c, it caused 
conflicts.  Also replace the section for tclWinInit.c with 
this one.

Would you like for me to place this in CVS as a branch?  I 
can't follow through with it as I don't run Win64.
davygrvyplain2002-01-29 11:27:14
File Added - 16935: diff.txt
davygrvyplain2002-01-29 17:46:45
Logged In: YES 
user_id=7549

ok, here's a better patch.  Absolutely no warnings are 
generate for either win32 or win64.  The quality of the 
patch is unknown.
davygrvyplain2002-01-29 17:46:47
File Added - 16937: patch.txt
davygrvyplain2002-01-29 17:46:48
File Deleted - 16932:
hobbsplain2002-02-26 02:04:49
Logged In: YES 
user_id=72656

following the TIP 72 additions by DKF, how much of this 
needs to get fixed?
davygrvyplain2002-02-26 03:47:09
Logged In: YES 
user_id=7549

I have no clue, and will not follow through with this 
patch.  I placed it here for reference only should someone 
wish to complete it.
hobbs Pending ticket [510022ffff]. [History diff]2008-03-13 03:00:29
davygrvyplain2008-03-13 03:36:56
Logged In: YES 
user_id=7549
Originator: YES

please ignore this big waste of time I did.
Log in (anonymous is fine) to add a comment.

Attachments: