Overview
| Artifact ID: | 22c107e458cf0734a8e5bcf1bb90b5dd8d2f385c |
|---|---|
| Ticket: | 1841549fffffffffffffffffffffffffffffffff
Compatibility issues about 32-bit integers and wide integers |
| User & Date: | dgp on 2007-12-04 00:34:37 |
Changes
- closedate changed to: "2007-12-03T17:34:37"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: NO This is not a bug, but an intentional change in the 8.3 -> 8.4 migration to provide limited support for 64-bit integers. Tcl 8.4 was first released in 2002. It's well past time to adapt your scripts. This modification to your script will run the same in all Tcl releases; 8.3, 8.4, and 8.5: set var1 "-2147483647" if { $var1 == int(0x80000001) } { set res "ok"; } else { set res "nok"; } - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"