Overview
| Artifact ID: | a8d5c5510807a33f0a5311bd67010fbe465c675e |
|---|---|
| Ticket: | 1841549fffffffffffffffffffffffffffffffff
Compatibility issues about 32-bit integers and wide integers |
| User & Date: | dgp on 2007-12-04 23:27:11 |
Changes
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=80530 Originator: NO dkf, can you offer any additional help or advice on this report? If not, maybe the crowd in the comp.lang.tcl newsgroup can remember how they handled this migration. I really think your scripts need to be revised. Besides the 8.3->8.4 portability problem you've already discovered, your scripts also have a 32-bit -> 64-bit platform portability issue. I don't really see the difficulty for your users either. You're already telling them, "Hey upgrade from Tcl 8.3 to Tcl 8.4" so at the same time just tell them "Hey upgrade from myScripts 1.0 to myScripts 2.0. Here they are". Your alternative solution of "Don't upgrade from Tcl 8.3 to Tcl 8.4. Instead upgrade to my customized fork of Tcl 8.4" sounds like the wrong idea to me. Looking forward, Tcl 8.5 goes even further in doing away with integer overflow magic, and integers have unlimited range. If you want overflow, you'll need to code your scripts to have it explicitly.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"